[Bug middle-end/88059] Spurious stringop-overflow warning with strlen, malloc and strncpy

rangel_fischer at yahoo dot com.br gcc-bugzilla@gcc.gnu.org
Mon Mar 7 22:39:51 GMT 2022


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

--- Comment #6 from Rangel Moreira Fischer <rangel_fischer at yahoo dot com.br> ---
When Compiler Optimization Level: Debug(-Og).
Compile OK.

When Compiler Optimization Level: Optimize for performance(-O2).
Compile Error.


More information about the Gcc-bugs mailing list