int g(_Complex int*); int f(void) { _Complex int t = 0; int i, j; __real__ t += 2; __imag__ t += 2; return g(&t); }
-- Summary: Store CCP does not understand REALPART_EXPR < COMPLEX_CST > Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25680