]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/33604 (Revision 119502 causes significantly slower results with 4.3...
authorRichard Guenther <rguenther@suse.de>
Fri, 9 Nov 2007 12:32:20 +0000 (12:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 9 Nov 2007 12:32:20 +0000 (12:32 +0000)
commit6aaa40131a37f28ffc3f1788b66293248b4abb5c
tree7d2129cd384ed49e7ccc4d5da76366ff0ada7d49
parent06acf7d0ad169b40c2e7f83c7ed808b2e196a6a4
re PR target/33604 (Revision 119502 causes significantly slower results with 4.3/4.4 compared to 4.2)

2007-11-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/33604
* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars):
Disregard changes in CV qualifiers of pointed to types for
forward propagating ADDR_EXPRs.
* tree-ssa-ccp.c (fold_stmt_r): Preserve volatileness of the original
expression.

* g++.dg/tree-ssa/pr33604.C: New testcase.
* gcc.dg/pr32721.c: Adjust pattern.

From-SVN: r130040
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr33604.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr32721.c
gcc/tree-ssa-ccp.c
gcc/tree-ssa-forwprop.c