]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/43629 (Struct to register optimization fails)
authorRichard Guenther <rguenther@suse.de>
Tue, 20 Apr 2010 13:08:01 +0000 (13:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Apr 2010 13:08:01 +0000 (13:08 +0000)
commit914f42cb388553353d39522c816086f42be33685
tree5d3e3243c268b981e5b861132a93bfdbc66f6707
parentb3b796499519def49c2c995e1a6558e131776243
re PR tree-optimization/43629 (Struct to register optimization fails)

2010-04-20  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43629
* tree-ssa-ccp.c (likely_value): Scan for literal constants
as well.  Reset all_undefined_operands if we have seen a
constant value.

* gcc.c-torture/execute/pr43629.c: New testcase.

From-SVN: r158554
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr43629.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c