re PR middle-end/64246 (ICE building libada for Windows due to NULL loop header)
authorRichard Biener <rguenther@suse.de>
Mon, 15 Dec 2014 12:20:10 +0000 (12:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 15 Dec 2014 12:20:10 +0000 (12:20 +0000)
commit024660c5942a95a54712adc9e91953ca83081c07
tree1c45e9929d0b876cbe17e488a1ebcb66c19eccea
parentf52e1d24fd49da929f731b0477106aadb3120fc4
re PR middle-end/64246 (ICE building libada for Windows due to NULL loop header)

2014-12-15  Richard Biener  <rguenther@suse.de>

PR middle-end/64246
* cfgloop.c (mark_loop_for_removal): Make safe against multiple
invocations on the same loop.

* gnat.dg/opt46.adb: New testcase.
* gnat.dg/opt46.ads: Likewise.
* gnat.dg/opt46_pkg.adb: Likewise.
* gnat.dg/opt46_pkg.ads: Likewise.

From-SVN: r218746
gcc/ChangeLog
gcc/cfgloop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/opt46.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt46.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt46_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/opt46_pkg.ads [new file with mode: 0644]