The following C testcase ICEs at -O2: void g(_Complex float); _Complex float f(int data, _Complex float x, _Complex float y) {
_Complex float i; _Complex float t, u, v; if (data) { i = x + __imag__ y; g(i); } else { v = 2; i = 5; } t = x + __imag__ y; g(t); u = i; return v * t * u; } -- Summary: [4.1 Regression] PRE of COMPLEX_EXPR causes ICE Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22116