OSDN Git Service

2011-10-05 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2011 10:54:14 +0000 (10:54 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2011 10:54:14 +0000 (10:54 +0000)
commitce993cc21ae809ff5dc84558fa4c0ee7a4cc108d
tree8f305cd98368d269f8bb3b30639fd03210cf77df
parentb3988bd821b6c6b7e11039a5f71627bfd1b71972
2011-10-05  Richard Guenther  <rguenther@suse.de>

* gimple-fold.c (gimple_fold_stmt_to_constant_1): For
ternary ops with an embedded expression valueize and fold
that as well.
* tree-ssa-sccvn.c (try_to_simplify): Also allow SSA name
results from gimple_fold_stmt_to_constant_1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179543 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/tree-ssa-sccvn.c