This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17749] New: [4.0 Regression] ICE
- 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: 30 Sep 2004 14:31:15 -0000
- Subject: [Bug tree-optimization/17749] New: [4.0 Regression] ICE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
code from Momchil Velikov (aka velco on #gcc) modified to get an ICE:
extern int foo (int, int);
extern int bar (int, int);
extern int baz (void);
extern int frob (int x);
extern int g(int x);
int xyzzy (int x, int y)
{
int *p;
x = foo (x, y);
if (x > 5)
p = &x;
else
p = &y;
y = bar (x, y);
if (baz ())
return xyzzy (x, y);
else
{
*p = frob (x);
return foo (x,y);
}
}
--
Summary: [4.0 Regression] ICE
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17749