This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/73434] [6/7 Regression] Wrong code with casting, branches and aliasing
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Aug 2016 10:01:01 +0000
- Subject: [Bug tree-optimization/73434] [6/7 Regression] Wrong code with casting, branches and aliasing
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-73434-4@http.gcc.gnu.org/bugzilla/>
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.