------- 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

Reply via email to