re PR rtl-optimization/85455 (ICE in verify_loop_structure, at cfgloop.c:1708 (error...
authorRichard Biener <rguenther@suse.de>
Thu, 19 Apr 2018 13:53:06 +0000 (13:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 19 Apr 2018 13:53:06 +0000 (13:53 +0000)
commitca98e4c5d0e87b5305ab30591509ffc64300abd4
tree543ad182909d71130092764c0c89346216eb9e68
parent19986382015e2aa8dc539bf31065af4bdff5ce84
re PR rtl-optimization/85455 (ICE in verify_loop_structure, at cfgloop.c:1708 (error: basic block 3 should be marked irreducible))

2018-04-19  Richard Biener  <rguenther@suse.de>

PR middle-end/85455
* cfg.c (clear_bb_flags): When loop state says we have
marked irreducible regions also preserve BB_IRREDUCIBLE_LOOP.

* gcc.dg/pr85455.c: New testcase.

From-SVN: r259494
gcc/ChangeLog
gcc/cfg.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr85455.c [new file with mode: 0644]