re PR rtl-optimization/50212 (ICE: in ei_container, at basic-block.h:610 with -fnon...
authorJakub Jelinek <jakub@redhat.com>
Mon, 12 Sep 2011 17:55:36 +0000 (19:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 12 Sep 2011 17:55:36 +0000 (19:55 +0200)
commitb58d339116b877e735e57979143f4531d6a110d9
tree84e348fd43f73f9669e6bc1af8e4795e47ee65f3
parent7d8102762c1b37bd1b0b59795a67ffc0da6631a5
re PR rtl-optimization/50212 (ICE: in ei_container, at basic-block.h:610 with -fnon-call-exceptions -freorder-blocks-and-partition)

PR rtl-optimization/50212
* bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
Skip also lps with NULL landing_pad or non-LABEL_P landing_pad.

* g++.dg/other/pr50212.C: New test.

From-SVN: r178785
gcc/ChangeLog
gcc/bb-reorder.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr50212.C [new file with mode: 0644]