This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/50916] -Os, -D_FORTIFY_SOURCE breaks strcpy & others if inlined


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]