[Bug tree-optimization/56661] [4.8/4.9 regression] Incorrect code with -O1 -ftree-pre

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 20 13:28:00 GMT 2013


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-20 13:28:50 UTC ---
Author: rguenth
Date: Wed Mar 20 13:27:20 2013
New Revision: 196826

URL: http://gcc.gnu.org/viewcvs?rev=196826&root=gcc&view=rev
Log:
2013-03-20  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/56661
    * tree-ssa-sccvn.c (visit_use): Only value-number calls if
    the result does not have to be distinct.

    * gcc.dg/torture/pr56661.c: New testcase.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr56661.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_8-branch/gcc/tree-ssa-sccvn.c



More information about the Gcc-bugs mailing list