From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14729 invoked by alias); 17 Aug 2009 20:16:39 -0000 Received: (qmail 14721 invoked by uid 22791); 17 Aug 2009 20:16:38 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Aug 2009 20:16:30 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7HKGR2P022732; Mon, 17 Aug 2009 16:16:27 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n7HKGQu2029392; Mon, 17 Aug 2009 16:16:26 -0400 Received: from [IPv6:::1] (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n7HKGPh3011793; Mon, 17 Aug 2009 16:16:25 -0400 Message-ID: <4A89BA99.1000900@redhat.com> Date: Mon, 17 Aug 2009 21:51:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3pre) Gecko/20090812 Shredder/3.0b4pre MIME-Version: 1.0 To: Jerry Quinn CC: "gcc@gcc.gnu.org" , =?ISO-8859-1?Q?Pedro_Lamar=E3o?= Subject: Re: enable-build-with-cxx bootstrap compare broken by r149964 References: <1250345548.19163.155.camel@cerberus.qb5.org> In-Reply-To: <1250345548.19163.155.camel@cerberus.qb5.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00303.txt.bz2 On 08/15/2009 10:12 AM, Jerry Quinn wrote: > Bootstrap comparison failure! >[...] > (write_nested_name): Add a fake anonymous namespace scope if > true. What I assume is going on here is that use of anonymous namespaces can break bitwise comparison, because get_file_function_name uses a random number if it doesn't know a non-weak symbol to use in the name. One thing that would help would be to defer all mangling, or at least all mangling that depends on the anonymous namespace name, until end of file so that first_global_object_name is usually set. I'm not sure why GCC sources would need to mangle function-local structs, though. Jason