This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/50916] -Os, -D_FORTIFY_SOURCE breaks strcpy & others if inlined
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Oct 2011 09:12:28 +0000
- Subject: [Bug other/50916] -Os, -D_FORTIFY_SOURCE breaks strcpy & others if inlined
- Auto-submitted: auto-generated
- References: <bug-50916-4@http.gcc.gnu.org/bugzilla/>
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.