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 c/17402] New: static functions are removed before builtins are expanded


The sprintf builtin is transformed into a strcpy if it is possible.  This is a
problem if strcpy is a static inline function.  The following testcase will have
a call to strcpy without using the strcpy in the source file.

-- 
           Summary: static functions are removed before builtins are
                    expanded
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: phython at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ppc-linux-gnu, i386-linux-gnu
  GCC host triplet: ppc-linux-gnu, i386-linux-gnu
GCC target triplet: ppc-linux-gnu, i386-linux-gnu


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


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