]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/41428 (CCP doesn't fold all comparisons it could)
authorRichard Guenther <rguenther@suse.de>
Tue, 22 Sep 2009 08:34:52 +0000 (08:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 22 Sep 2009 08:34:52 +0000 (08:34 +0000)
commitf61e18ec67d800e358448907260604809f3151b9
tree2dae69d5e6d8f6e3ea0f1c4712a4f2998ae5d083
parentff7ffb8f2a4670297b53f38c0a751defc59bb47f
re PR tree-optimization/41428 (CCP doesn't fold all comparisons it could)

2009-09-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41428
* tree-ssa-ccp.c (ccp_fold_stmt): New function.
(ccp_finalize): Pass it to substitute_and_fold.

* g++.dg/tree-ssa/pr41428.C: New testcase.

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