The following valid code snippet triggers an ICE since GCC 4.1.0 when compiled with "-O":
==================================================== int foo(__complex__ int z0, __complex__ int z1) { return z0 != 0 || z1 != 0; } ==================================================== bug.c: In function 'foo': bug.c:3: internal compiler error: in build_int_cst_wide, at tree.c:891 Please submit a full bug report, [etc.] -- Summary: [4.1/4.2/4.3/4.4 regression] ICE with complex arithmetic 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 GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35429