[Bug c/17402] New: static functions are removed before builtins are expanded

phython at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 10 17:23:00 GMT 2004


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



More information about the Gcc-bugs mailing list