The following valid code snippet triggers an ICE since GCC 4.1.0 when compiled with "-O2":
================================ void bar(); void foo(int i) { __complex__ int k = 0; if (i) k = 1; for (i = 0; i < 1; ++i) ; if (k) bar(); } ================================ bug.c: In function 'foo': bug.c:4: internal compiler error: tree check: expected value_handle, have ssa_name in bitmap_set_contains_value, at tree-ssa-pre.c:744 Please submit a full bug report, [etc.] -- Summary: [4.1/4.2/4.3/4.4 regression] ICE with complex data Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35431