re PR c++/41819 (ICE with try/catch and -fno-exceptions)
PR c++/41819
* tree-eh.c (eh_region_may_contain_throw_map): Rename from
eh_region_may_contain_throw; update users.
(eh_region_may_contain_throw): New function.
(lower_catch): Check flag_exceptions before creating exception region.
(lower_eh_filter, lower_eh_must_not_throw): Likewise.
(lower_cleanup): Tidy existing flag_exceptions check to match.
From-SVN: r153615
Showing
gcc/testsuite/g++.dg/eh/pr41819.C
0 → 100644
Please
register
or
sign in
to comment