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/15728] New: [3.4.0] ICE when declaring asm label for built-in function


gcc-3.4 ICEs when compiling following code:
extern __inline char * f1 (char *s, char* s2)
{
  return __builtin_strstr (s,s2);
}
extern char *strstr (char *s, char* s2) __asm__("_L_strstr");;

tested to fail on mips-linux, mips64-linux, and is reported to also fail
on i686-linux.

I run into this problem while compiling glibc as of 2004-05-27.
It appears that gcc CVS HEAD as of 2004-05-20 is not affected.

-- 
           Summary: [3.4.0] ICE when declaring asm label for built-in
                    function
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ilya at theIlya dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips64-linux-gnu
  GCC host triplet: mips64-linux-gnu
GCC target triplet: mips64-linux-gnu


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


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