[Bug tree-optimization/44545] [4.5/4.6 Regression] internal compiler error: in remove_unreachable_handlers, at tree-eh
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 29 22:04:00 GMT 2010
------- Comment #4 from pinskia at gcc dot gnu dot org 2010-06-29 22:04 -------
Reduced even further:
int DrawChunk(int *tabSize, int x)
{
const int numEnds = 10;
int ends[numEnds + 2];
if (*tabSize > 0) {
x -= 5;
x = (x + *tabSize) / *tabSize;
}
}
--- CUT ---
Compile with -O2 -fstack-check -fnon-call-exceptions -ftrapv -fexceptions
(the last option is needed for C front-end). As far as I can tell the
reassoication pass causes the ICE.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44545
More information about the Gcc-bugs
mailing list