re PR tree-optimization/48611 (ICE: SIGSEGV in remap_eh_region_nr (tree-inline.c...
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 May 2011 06:08:18 +0000 (08:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 May 2011 06:08:18 +0000 (08:08 +0200)
commit6ae70ea2e6f12a97415896b4721bf4df536e3b09
treeeeaa46393953dd5b9765c18fe9332858b16a475a
parente7f7802150169bf0ec2b8a3ad309c53f87280927
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
PR tree-optimization/48794
* tree-eh.c (remove_unreachable_handlers): Don't remove regions
referenced from RESX or EH_DISPATCH arguments.

* gfortran.dg/gomp/pr48611.f90: New test.
* gfortran.dg/gomp/pr48794.f90: New test.

From-SVN: r173607
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr48611.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/pr48794.f90 [new file with mode: 0644]
gcc/tree-eh.c