From: Jakub Jelinek Date: Wed, 20 Apr 2011 18:18:16 +0000 (+0200) Subject: re PR tree-optimization/48611 (ICE: SIGSEGV in remap_eh_region_nr (tree-inline.c... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6788475ac17e1c9ed67dddac0e3a519cccf0a017;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b7e5313a49..6dade07dc5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-20 Jakub Jelinek + + 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 * config/mips/mips.opt (mfix-24k): New. diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index 5ef319dc2ca..76453b8f45a 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -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;