This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/29548] New: Does not fold b * -2 + a * 6


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]