re PR target/52918 (ICE: Invalid bb->loop_father (NULL) in add_bb_to_loop)
authorRichard Guenther <rguenther@suse.de>
Wed, 11 Apr 2012 14:02:26 +0000 (14:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 Apr 2012 14:02:26 +0000 (14:02 +0000)
commit405af656bcbddb0f655aa7744220478b80df09d7
tree8d818b24c6d556017465b882562342d6e6bdb7fa
parente9184c9ece086653c99b6ffb439aac9aa2e6dbbb
re PR target/52918 (ICE: Invalid bb->loop_father (NULL) in add_bb_to_loop)

2012-04-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/52918
* except.c (sjlj_emit_dispatch_table): Properly update loop
structure.

* g++.dg/torture/pr52918-1.C: New testcase.
* g++.dg/torture/pr52918-2.C: Likewise.

From-SVN: r186320
gcc/ChangeLog
gcc/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr52918-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/torture/pr52918-2.C [new file with mode: 0644]