This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29487] Shared libstdc++ fails to link
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2007 09:22:27 -0000
- Subject: [Bug target/29487] Shared libstdc++ fails to link
- References: <bug-29487-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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