re PR tree-optimization/73434 (Wrong code with casting, branches and aliasing)
authorRichard Biener <rguenther@suse.de>
Mon, 15 Aug 2016 09:56:00 +0000 (09:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 15 Aug 2016 09:56:00 +0000 (09:56 +0000)
commite4969090b68ff266b29c86b6aebec25812666fc4
treec23c379cf6e756837d03ce0db535edbb68acd4cc
parent980bd53780025944008dbcd89caeed8d6e782715
re PR tree-optimization/73434 (Wrong code with casting, branches and aliasing)

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.

From-SVN: r239471
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr73434.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c