PR tree-optimization/49073
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 May 2011 14:19:05 +0000 (14:19 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 May 2011 14:19:05 +0000 (14:19 +0000)
commit8a245b9d2de6d22fb5017b062358f7f3d5a69a2e
tree940cae516f3f04771fe6a0abd862dd3ee83bd9da
parent98b28ab670569a961b4f56a5d4bca75fea37cadc
PR tree-optimization/49073
* gimple-fold.c (and_comparisons_1, or_comparisons_1): Return
NULL if PHI argument is SSA_NAME, whose def_stmt is dominated
by the PHI.
* tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators.

* gcc.c-torture/execute/pr49073.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173948 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr49073.c [new file with mode: 0644]
gcc/tree-ssa-ifcombine.c