This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2005 00:42:46 -0000
- Subject: [Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE
- References: <20050505143115.21399.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2005-05-16 00:42 -------
We probably need something like,
bool
maybe_clean_eh_after_replacing_stmt (tree old_stmt, tree new_stmt)
{
if (!tree_could_throw_p (new_stmt))
if (remove_stmt_from_eh_region (old_stmt))
return true;
return false;
}
and use it in the two places I pointed out. I think the others are safe.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21399