re PR tree-optimization/21520 (missing PRE opportunity with operand after operand)
authorSteven Bosscher <stevenb@suse.de>
Thu, 12 May 2005 22:13:00 +0000 (22:13 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Thu, 12 May 2005 22:13:00 +0000 (22:13 +0000)
commit0995a441f572b99071e2ab2b256c027e4a19e217
tree354efb3b7fe79e6c570a46275544956edce4638f
parent02f20dc3fdfe1031a02b856ce6a7cc283ea49cf1
re PR tree-optimization/21520 (missing PRE opportunity with operand after operand)

Fix PR tree-optimization/21520
* tree-ssa-pre.c (phi_translate): Use fully_constant_expression
to attempt to fold constants.

From-SVN: r99632
gcc/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr21532.c [new file with mode: 0644]
gcc/tree-ssa-pre.c