]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-forwprop.c
2012-04-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Apr 2012 09:25:14 +0000 (09:25 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Apr 2012 09:25:14 +0000 (09:25 +0000)
commit360b78f31baa63e9111d172577e181730ce80c1c
tree49b6bc580d6294485fb21f111c49282f11b8efdd
parenta1b989062952288c270231c2c5c5fe1808ab01e8
2012-04-16  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/52975
* tree-ssa-forwprop.c (combine_cond_exprs): New function.
(ssa_forward_propagate_and_combine): Call it for COND_EXPRs
and VEC_COND_EXPRs.  Also combine into VEC_COND_EXPRs condition.
* fold-const.c (operand_equal_p): Handle TARGET_MEM_REF.

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