From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13947 invoked by alias); 28 Nov 2011 15:25:19 -0000 Received: (qmail 13934 invoked by uid 22791); 28 Nov 2011 15:25:18 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Nov 2011 15:25:06 +0000 From: "dak at gnu dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/51333] cxxabi.h incompatible with -fkeep-inline-functions at link time Date: Mon, 28 Nov 2011 15:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dak at gnu dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Known to work Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-11/txt/msg02667.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51333 David Kastrup changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work|4.5.2 | --- Comment #2 from David Kastrup 2011-11-28 15:25:03 UTC --- I am more surprised that actual demangling applications work without -lsupc++ as long as -fkeep-inline-functions is not used. It is good to have a solution (even if its necessity depends on the compilation options in a non-obvious way), but the actual error message certainly does not particularly help in figuring out the problem. I have to take back "works with 4.5.2" since I forgot that I used -fkeep-inline-functions only once I needed to work around a 4.6.1 bug. So I actually have no data point when this option would have worked with the given test file. Probably that renders this particular report "invalid", but somebody really should try making the link error message more intelligible.