From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30012 invoked by alias); 28 Feb 2012 21:03:30 -0000 Received: (qmail 30004 invoked by uid 22791); 28 Feb 2012 21:03:30 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Tue, 28 Feb 2012 21:03:09 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1SL3947003035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 28 Feb 2012 16:03:09 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1SL38LO013525; Tue, 28 Feb 2012 16:03:09 -0500 Received: from [0.0.0.0] (ovpn-113-75.phx2.redhat.com [10.3.113.75]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id q1SL367e018435; Tue, 28 Feb 2012 16:03:07 -0500 Message-ID: <4F4D410A.4090409@redhat.com> Date: Tue, 28 Feb 2012 23:22:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Fabien_Ch=EAne?= CC: GCC Patches Subject: Re: [C++ Patch] for c++/51214 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: 2012-02/txt/msg01441.txt.bz2 On 02/28/2012 03:36 PM, Fabien ChĂȘne wrote: > * decl.c (build_enumerator): Call > insert_into_classtype_sorted_fields if an enumerator-definition referring > to a class scope opaque enum has been encountered. This will insert and sort the vector again for each enumerator; we should wait and sort after we've seen all of them. Will unqualified lookup work because we're in the enumeration scope, or do we need to make lookup in the class work? > + equal to THREASHOLD or greater than THREASHOLD. */ No 'a' in "threshold". Jason