]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/35164 (Unable to coalesce ab SSA_NAMEs)
authorRichard Guenther <rguenther@suse.de>
Fri, 15 Feb 2008 15:24:19 +0000 (15:24 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Feb 2008 15:24:19 +0000 (15:24 +0000)
commit2e58df6ecf3d060e3a8bd95f898baf89f733e1f5
tree84bac3426747a9ff72e762dc1ff06bfc9e4f61f7
parent508515b0277f2adadc610acb2dd14f769ba992ff
re PR tree-optimization/35164 (Unable to coalesce ab SSA_NAMEs)

2008-02-15  Richard Guenther  <rguenther@suse.de>
Zdenek Dvorak  <ook@ucw.cz>

PR tree-optimization/35164
* tree-flow.h (stmt_references_abnormal_ssa_name): Declare.
* tree-dfa.c (stmt_references_abnormal_ssa_name): New function.
* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
Only propagate addresses which do not have abnormal SSA_NAMEs
in their operands.

* g++.dg/torture/pr35164-1.C: New testcase.
* g++.dg/torture/pr35164-2.C: Likewise.

Co-Authored-By: Zdenek Dvorak <ook@ucw.cz>
From-SVN: r132345
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr35164-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/torture/pr35164-2.C [new file with mode: 0644]
gcc/tree-dfa.c
gcc/tree-flow.h
gcc/tree-ssa-forwprop.c