public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15728] New: [3.4.0] ICE when declaring asm label for built-in function
@ 2004-05-30 22:58 ilya at theIlya dot com
  2004-05-30 23:42 ` [Bug c/15728] " ilya at theIlya dot com
  2004-05-31  0:37 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: ilya at theIlya dot com @ 2004-05-30 22:58 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c/15728] [3.4.0] ICE when declaring asm label for built-in function
  2004-05-30 22:58 [Bug c/15728] New: [3.4.0] ICE when declaring asm label for built-in function ilya at theIlya dot com
@ 2004-05-30 23:42 ` ilya at theIlya dot com
  2004-05-31  0:37 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ilya at theIlya dot com @ 2004-05-30 23:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ilya at theIlya dot com  2004-05-30 01:58 -------
Forgot to mention that this problem only appears when optimization level is at
least -O2.

-- 


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c/15728] [3.4.0] ICE when declaring asm label for built-in function
  2004-05-30 22:58 [Bug c/15728] New: [3.4.0] ICE when declaring asm label for built-in function ilya at theIlya dot com
  2004-05-30 23:42 ` [Bug c/15728] " ilya at theIlya dot com
@ 2004-05-31  0:37 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-31  0:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-30 02:01 -------
This is a dup of bug 15666.

*** This bug has been marked as a duplicate of 15666 ***

*** This bug has been marked as a duplicate of 15666 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-30  2:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-30 22:58 [Bug c/15728] New: [3.4.0] ICE when declaring asm label for built-in function ilya at theIlya dot com
2004-05-30 23:42 ` [Bug c/15728] " ilya at theIlya dot com
2004-05-31  0:37 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).