// This function can be optimized to just *p = *q = 1; at tree level: void foo (int *p, int *q) { *p = 1; *q = 1; if (*p != 1) link_error (); }
-- Summary: store ccp misses an optimization Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: belyshev at depni dot sinp dot msu dot ru CC: dnovillo at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23094