re PR tree-optimization/87360 (ICE in remove_redundant_iv_tests at gcc/tree-ssa-loop...
authorJakub Jelinek <jakub@redhat.com>
Wed, 5 Dec 2018 11:05:59 +0000 (12:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 5 Dec 2018 11:05:59 +0000 (12:05 +0100)
commit7ba6738bd24dacf4f207ddc7142dde603ddc7482
tree934d9824366823f10ed625732339f448e2b34546
parent9c6ff7b2251f5826485d778a81760e65cb1a66a8
re PR tree-optimization/87360 (ICE in remove_redundant_iv_tests at gcc/tree-ssa-loop-ivcanon.c:571 since r255467)

PR tree-optimization/87360
* gimple-loop-jam.c (tree_loop_unroll_and_jam): On failure to analyze
data dependencies, don't return false, just continue.  Formatting
fixes.
(merge_loop_tree, bb_prevents_fusion_p, unroll_jam_possible_p,
fuse_loops): Formatting fixes.

* g++.dg/opt/pr87360.C: New test.
* gfortran.dg/pr87360.f90: New test.

From-SVN: r266820
gcc/ChangeLog
gcc/gimple-loop-jam.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr87360.C [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr87360.f90 [new file with mode: 0644]