[Bug other/50916] -Os, -D_FORTIFY_SOURCE breaks strcpy & others if inlined
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 30 09:12:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50916
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-30 09:12:28 UTC ---
extern __inline char *
strcpy (char *__restrict __dest, const char *__restrict __src)
this should be marked with __attribute__((gnu_inline)), otherwise
it won't work with -std=c99. GCC fix-includes glibc headers for this,
so this is a packaging bug on the debian side, please file it there.
More information about the Gcc-bugs
mailing list