re PR tree-optimization/79411 (ICE: SSA corruption (fail_abnormal_edge_coalesce))
authorJakub Jelinek <jakub@redhat.com>
Fri, 10 Feb 2017 08:47:32 +0000 (09:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 10 Feb 2017 08:47:32 +0000 (09:47 +0100)
commit6139a3b76c3f149f17d7415d84633cbe617ed72b
tree5ed54be4c26c2dbbc0f9cd78abd2cb3424f83e90
parente8f45b6c351690c258365525904d7dd0c0e9104f
re PR tree-optimization/79411 (ICE: SSA corruption (fail_abnormal_edge_coalesce))

PR tree-optimization/79411
* tree-ssa-reassoc.c (is_reassociable_op): Return false if
stmt operands are SSA_NAMEs used in abnormal phis.
(can_reassociate_p): Return false if op is SSA_NAME used in abnormal
phis.

* gcc.c-torture/compile/pr79411.c: New test.

From-SVN: r245324
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr79411.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c