From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11691 invoked by alias); 5 Feb 2007 09:22:36 -0000 Received: (qmail 11638 invoked by uid 48); 5 Feb 2007 09:22:27 -0000 Date: Mon, 05 Feb 2007 09:22:00 -0000 Message-ID: <20070205092227.11637.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/29487] Shared libstdc++ fails to link In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bonzini at gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg00687.txt.bz2 ------- 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