This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/41819] [4.5 regression] ICE with try/catch and -fno-exceptions
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2009 20:09:21 -0000
- Subject: [Bug c++/41819] [4.5 regression] ICE with try/catch and -fno-exceptions
- References: <bug-41819-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rth at gcc dot gnu dot org 2009-10-27 20:09 -------
Subject: Bug 41819
Author: rth
Date: Tue Oct 27 20:09:07 2009
New Revision: 153615
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153615
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/eh/pr41819.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-eh.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41819