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 tree-optimization/73434] [6/7 Regression] Wrong code with casting, branches and aliasing


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73434

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Aug 15 10:00:21 2016
New Revision: 239472

URL: https://gcc.gnu.org/viewcvs?rev=239472&root=gcc&view=rev
Log:
2016-08-15  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/73434
        * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Preserve
        TBAA info on the base when forwarding a non-invariant address.

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

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/torture/pr73434.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-ssa-sccvn.c

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for GCC 6.2.

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