This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/66375] [4.8/4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu
- From: "bernhard.kaindl at thalesgroup dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 Jun 2015 23:55:39 +0000
- Subject: [Bug middle-end/66375] [4.8/4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-66375-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66375
Bernhard Kaindl <bernhard.kaindl at thalesgroup dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernhard.kaindl@thalesgroup
| |.com
--- Comment #11 from Bernhard Kaindl <bernhard.kaindl at thalesgroup dot com> ---
Created attachment 35735
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35735&action=edit
Backport to gcc-4_9-branch/gcc-4.9.2: PR tree-optimization/66375 (wrong code
fix!)
Backport from mainline to gcc-4_9-branch (also applies to gcc-4.9.2):
Note: Fixes wrong code for x86 and x86_64 targets
(other targets apparently not affected)
URL: <this attachment>
Log:
2015-06-10 Bernhard Kaindl <bernhard.kaindl@thalesgroup.com>
Backport from mainline
2015-06-03 Richard Biener <rguenther@suse.de>
PR tree-optimization/66375
* tree-scalar-evolution.c (follow_ssa_edge_binary): First
add to the evolution before following SSA edges.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr66375.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-scalar-evolution.c
The context of the ChangeLogs is removed, so it applies using "patch -p1"
without ever causing a conflict (other changes may be merged before this,
the ChangeLogs are automatically added on top without context matching),
but it won't apply with "git apply" this way.