[Bug sanitizer/105107] false positive stack-buffer-overflow in ASAN

2022-03-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
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 ==

[Bug sanitizer/105107] false positive stack-buffer-overflow in ASAN

2022-03-30 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
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.

[Bug sanitizer/105107] false positive stack-buffer-overflow in ASAN

2022-03-30 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105107 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---