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 target/29487] Shared libstdc++ fails to link



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


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