From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9636 invoked by alias); 24 Oct 2009 06:20:48 -0000 Received: (qmail 9627 invoked by uid 22791); 24 Oct 2009 06:20:47 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 24 Oct 2009 06:20:43 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9O6Kea6008144; Sat, 24 Oct 2009 02:20:41 -0400 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9O6KIvY031101; Sat, 24 Oct 2009 02:20:36 -0400 Message-ID: <4AE29CA2.9070209@redhat.com> Date: Sat, 24 Oct 2009 06:33:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5pre) Gecko/20091022 Shredder/3.0pre MIME-Version: 1.0 To: Dave Korn CC: Dodji Seketeli , gcc-patches@gcc.gnu.org Subject: Re: [RFA] PR c++/41020 References: <20091023193035.GQ30620@adjoa.torimasen.com> <4AE20CEB.6050608@redhat.com> <20091023212753.GS30620@adjoa.torimasen.com> <4AE24176.1020806@redhat.com> <4AE27F3B.8070105@gmail.com> <4AE29090.3040103@redhat.com> In-Reply-To: <4AE29090.3040103@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg01502.txt.bz2 The problem in the PR is that G++ is failing to distinguish between the implicit built-in declaration (which should be overwritten by a friend declaration) and an explicit declaration of a built-in (which should be referenced by a friend declaration). Jason