Skip to content
Snippets Groups Projects
Commit 5dd4d2e9 authored by Yuri Gribov's avatar Yuri Gribov Committed by Martin Liska
Browse files

asan: fix unsafe optimization of Asan checks.

	PR sanitizer/106558

gcc/
	* sanopt.cc: Do not optimize out checks for non-SSA addresses.

gcc/testsuite/
	* c-c++-common/asan/pr106558.c: New test.
parent ee629d24
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment