This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29548] New: Does not fold b * -2 + a * 6
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2006 15:56:38 -0000
- Subject: [Bug middle-end/29548] New: Does not fold b * -2 + a * 6
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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