This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/21399] [4.1 Regression] libstdc++ 12077.cc ICE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]