re PR tree-optimization/48611 (ICE: SIGSEGV in remap_eh_region_nr (tree-inline.c:1194) with -Os -fopenmp -fexceptions -fno-tree-ccp -fno-tree-copy-prop on basic code)

PR tree-optimization/48611
	* tree-eh.c (note_eh_region_may_contain_throw): Don't propagate
	beyond ERT_MUST_NOT_THROW region.

From-SVN: r172783
This commit is contained in:
Jakub Jelinek 2011-04-20 20:18:16 +02:00 committed by Jakub Jelinek
parent 8721a387af
commit 6788475ac1
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-04-20 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/48611
* tree-eh.c (note_eh_region_may_contain_throw): Don't propagate
beyond ERT_MUST_NOT_THROW region.
2011-04-20 Catherine Moore <clm@codesourcery.com>
* config/mips/mips.opt (mfix-24k): New.

View File

@ -849,6 +849,8 @@ note_eh_region_may_contain_throw (eh_region region)
{
while (bitmap_set_bit (eh_region_may_contain_throw_map, region->index))
{
if (region->type == ERT_MUST_NOT_THROW)
break;
region = region->outer;
if (region == NULL)
break;