This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/17723] [4.0.0 regression] [ICE on legal code] gcc segfaults with -O2
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2004 14:27:09 -0000
- Subject: [Bug rtl-optimization/17723] [4.0.0 regression] [ICE on legal code] gcc segfaults with -O2
- References: <20040929130434.17723.martin@mpa-garching.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-29 14:27 -------
Here is one without "?:" (taken from the tree dumps and modified a little to remove the gotos):
typedef union {
char str[256];
} FFSTYPE;
extern FFSTYPE fflval;
int fflex ( void )
{
int D1130;
if (fflval.str[0] > 66)
{
if (strcmp (&fflval.str[0], &"CI"[0]) != 0)
return 0;
}
else if (strcmp (&fflval.str[0], &"BO"[0]) != 0)
return 0;
return 264;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17723