diff options
author | Richard Guenther <rguenther@suse.de> | 2011-07-21 13:19:18 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-07-21 13:19:18 +0000 |
commit | 3ceaf2f571c5b02610383abb80579861cff5d22e (patch) | |
tree | 521bd5035d3ea31fdd464007a7f1904d598fe907 /gcc/ada | |
parent | a423549540656e001cd6d0f820ff60cdbe045f7d (diff) | |
download | gcc-3ceaf2f571c5b02610383abb80579861cff5d22e.zip gcc-3ceaf2f571c5b02610383abb80579861cff5d22e.tar.gz gcc-3ceaf2f571c5b02610383abb80579861cff5d22e.tar.bz2 |
re PR tree-optimization/49770 (wrong code with -fno-tree-forwprop)
2011-07-21 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49770
* tree-ssa-sccvn.c (valueize_refs_1): Return whether we
valueized any operand. Renamed from ...
(valueize_refs): ... this. New wrapper around valueize_refs_1.
(valueize_shared_reference_ops_from_ref): Return whether we
valueized any operand.
(vn_reference_lookup): Only when we valueized any operand
use the valueized reference for alias analysis. Do not preserve
the original reference tree in this case.
* g++.dg/torture/pr49770.C: New testcase.
From-SVN: r176567
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions