From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19864 invoked by alias); 10 Feb 2012 10:25:43 -0000 Received: (qmail 19829 invoked by uid 22791); 10 Feb 2012 10:25:42 -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; Fri, 10 Feb 2012 10:25:29 +0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/52188] [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris Date: Fri, 10 Feb 2012 10:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: 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: 2012-02/txt/msg01048.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE 2012-02-10 10:24:36 UTC --- > caused libstdc++.so symbol versioning to be broken on Solaris. Before the > patch, > when compiling locale-const.cc only contains references and definitions of > > _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv.constprop.36 > > After the patch, the same source has references to > > _ZNSt19istreambuf_iteratorIcSt11char_traitsIcEEppEv The change isn't Solaris-specific, btw. I've just compiled the same preprocessed file (with -fpermissive added to avoid /vol/gcc/src/hg/trunk/reghunt/libstdc++-v3/libsupc++/new:93:54: error: 'operator new' takes type 'size_t' ('long unsigned int') as first parameter [-fpermissive] ) on x86_64-unknown-linux-gnu: with gcc 4.6 off the top of the 4.6 branch, the symbol doesn't occur in the output at all, with mainline, it does. Rainer