https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105107
--- Comment #3 from Martin Liška ---
You'll see it with:
gcc-11 pr105107.c -fsanitize=address -g -O2 &&
ASAN_OPTIONS=detect_stack_use_after_return=1 ./a.out
addr of e=0x739f4020
write to 0x739f4020
==
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105107
--- Comment #2 from Li Shaohua ---
Thanks for your prompt reply. The warning messages only appeared for -O0 and
-O3, not for -O1 and -O2. I wonder this might also be an issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105107
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---