------- Comment #22 from bonzini at gnu dot org  2007-02-05 09:22 -------
If you refer to http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00559.html this
little patch would undo any semantic changes introduced there.  I didn't follow
the discussion however and I don't know if this is the correct fix.

Index: except.c
===================================================================
--- except.c    (revision 121287)
+++ except.c    (working copy)
@@ -2785,6 +2785,9 @@ set_nothrow_function_flags (void)
 {
   rtx insn;

+  if (TREE_NOTHROW (current_function_decl))
+    return 0;
+
   if (!targetm.binds_local_p (current_function_decl))
     return 0;



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29487

Reply via email to