fold_plusminus_mult_expr does not fold

int f6 (int a, int b)
{
  return b * -2 + a * 6;
}

this blocks the fix for PR23295 because a fix for it makes the test for
PR23294 fail.


-- 
           Summary: Does not fold b * -2 + a * 6
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
OtherBugsDependingO 23295
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29548

Reply via email to