re PR rtl-optimization/84872 (ICE in create_preheader, at cfgloopmanip.c:1536)
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Apr 2018 17:28:02 +0000 (19:28 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Apr 2018 17:28:02 +0000 (19:28 +0200)
commit49574486e65c03100fbf2993804ccc6dbb9051e6
tree2fbf8db3f4b3ec9b083a6e42b82d0f5d987d4f9d
parente83bc9d77564eeadcc415dbbc1352b3aaabb4fa7
re PR rtl-optimization/84872 (ICE in create_preheader, at cfgloopmanip.c:1536)

PR rtl-optimization/84872
* cfgloopmanip.c (create_preheader): Use make_forwarder_block even if
nentry == 1 when CP_FALLTHRU_PREHEADERS and single_entry is
EDGE_CROSSING edge.

* gcc.dg/graphite/pr84872.c: New test.

From-SVN: r259182
gcc/ChangeLog
gcc/cfgloopmanip.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr84872.c [new file with mode: 0644]