http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48611
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-10 06:32:04 UTC --- Author: jakub Date: Tue May 10 06:31:59 2011 New Revision: 173608 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173608 Log: 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. Added: branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/gomp/pr48611.f90 branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/gomp/pr48794.f90 Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-eh.c