------- 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

Reply via email to