From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19074 invoked by alias); 25 Feb 2005 23:53:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18921 invoked by uid 48); 25 Feb 2005 23:53:40 -0000 Date: Sat, 26 Feb 2005 23:21:00 -0000 Message-ID: <20050225235340.18920.qmail@sourceware.org> From: "janis at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050224185234.20199.janis@gcc.gnu.org> References: <20050224185234.20199.janis@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/20199] -fvisibility-inlines-hidden broken on powerpc64-linux X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg03216.txt.bz2 List-Id: ------- Additional Comments From janis at gcc dot gnu dot org 2005-02-25 23:53 ------- Ah, yes. I haven't come up with a testcase that doesn't use libstdc++, but the following testcase fails without the patch referenced in comment #28 and passes with it: #pragma GCC visibility push(default) #include #pragma GCC visibility pop void foo() { std::allocator c2; } Command line: g++ -m64 -fvisibility-inlines-hidden -shared -o libx.C x.C Without the #pragmas, this works with 20050223 mainline and binutils when is replaced by ; there are explicit instantiations in libstdc++ for allocator but not for allocator. This is all with -m64, with -m32 I haven't seen any problems at all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20199