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/66375] [4.8/4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu


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.


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