Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 15728
Product:  
Component:  
Status: RESOLVED
Resolution: DUPLICATE of bug 15666
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: Ilya A. Volynets-Evenbakh <ilya@theIlya.com>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 15728 depends on: Show dependency tree
Show dependency graph
Bug 15728 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2004-05-30 01:32
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.

------- Comment #1 From Ilya A. Volynets-Evenbakh 2004-05-30 01:58 -------
Forgot to mention that this problem only appears when optimization level is at
least -O2.

------- Comment #2 From Andrew Pinski 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 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug