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 rtl-optimization/17723] [4.0.0 regression] [ICE on legal code] gcc segfaults with -O2


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-29 14:12 -------
Here is something little smaller:
typedef union {
    char str[256];
} FFSTYPE;
extern FFSTYPE fflval;
int fflex ( void )
{
 char *fname;
 fname = &fflval.str[0];
 if( (fname[0]>'B'?1:strcmp(fname,"BO"))==0
     || (fname[0]<'C'? -1:strcmp(fname,"CI"))==0
   )
  return 264;
return 0;
}

-- 


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


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