[Bug c/60256] No -Wuninitialized warning for strcpy

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 18 01:22:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60256

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Well that is because strcpy(s,s) is optimized away as it is a nop.



More information about the Gcc-bugs mailing list