[Bug sanitizer/108029] GCC'ASAN at -O0 failed to detect a memory leak

shaohua.li at inf dot ethz.ch gcc-bugzilla@gcc.gnu.org
Fri Dec 9 10:46:25 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108029

--- Comment #2 from Li Shaohua <shaohua.li at inf dot ethz.ch> ---
(In reply to Martin Liška from comment #1)
> I can see the leak with both gcc-12 and gcc master.

Interesting, because I tested using Compiler explorer. On my local machines,
some gcc-12 -O0 won't report, but some do.


More information about the Gcc-bugs mailing list