re PR tree-optimization/90402 (ICE in slpeel_duplicate_current_defs_from_edges)
authorRichard Biener <rguenther@suse.de>
Mon, 13 May 2019 11:37:21 +0000 (11:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 13 May 2019 11:37:21 +0000 (11:37 +0000)
commit40289199ee725183a286f50cf448f6347267047e
treee5c9e26646781ec79c4aa4ae92b04c9ebef06279
parentaae6da83564549a6f8700407df50cdd52d411727
re PR tree-optimization/90402 (ICE in slpeel_duplicate_current_defs_from_edges)

2019-05-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/90402
* tree-if-conv.c (tree_if_conversion): Value number only
the loop body by making the latch an exit of the region
as well.
* tree-ssa-sccvn.c (process_bb): Add flag whether to skip
processing PHIs.
(do_rpo_vn): Deal with multiple edges into the entry block
that are not backedges inside the region by skipping PHIs
of the entry block.

* gcc.dg/torture/pr90402-1.c: New testcase.

From-SVN: r271125
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr90402-1.c [new file with mode: 0644]
gcc/tree-if-conv.c
gcc/tree-ssa-sccvn.c