[Bug tree-optimization/23476] New: [4.1 Regression] ICE in VRP, remove_range_assertions
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 19 06:19:00 GMT 2005
Testcase:
int h(int);
static inline int f(int t, const int i)
{
_Bool a = i < t;
if (a)
return h(t);
return 9;
}
int g(int t)
{
return f(t, 0x7FFFFFFF);
}
Compile with -O2 -fno-tree-copy-prop, and you will get an ICE:
t.c: In function ÂgÂ:
t.c:12: internal compiler error: in remove_range_assertions, at tree-vrp.c:2767
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This most likely can be produced with a much larger source but I cannot find it right now as copy-prop
does nothing interesting except for calling fold on all the statements which is just a waste of time.
--
Summary: [4.1 Regression] ICE in VRP, remove_range_assertions
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
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=23476
More information about the Gcc-bugs
mailing list