[Bug tree-optimization/38564] [4.4 Regression] Revision 142662 caused ICE in insert_into_preds_of_block
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 23 17:20:00 GMT 2008
------- Comment #6 from hjl dot tools at gmail dot com 2008-12-23 17:19 -------
Another testcase from PR 38608:
--
int dialog_calendar(int state)
{
int *obj = (state == 1 ? &state : 0);
return (obj == &state);
}
---
It failed to -O2:
/tmp/y.c: In function Âdialog_calendarÂ:
/tmp/y.c:1: internal compiler error: in insert_into_preds_of_block, at
tree-ssa-pre.c:3131
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38564
More information about the Gcc-bugs
mailing list