From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12672 invoked by alias); 2 Sep 2008 22:48:12 -0000 Received: (qmail 12457 invoked by uid 22791); 2 Sep 2008 22:48:11 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 02 Sep 2008 22:47:35 +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 m82MfktK002365; Tue, 2 Sep 2008 18:42:06 -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 m82MfZJ5021989; Tue, 2 Sep 2008 18:41:35 -0400 Received: from [10.14.51.24] (vpn-51-24.sfbay.redhat.com [10.14.51.24]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m82MfXXW019176; Tue, 2 Sep 2008 18:41:33 -0400 Subject: Re: [patch] initial location support for C parser From: Richard Henderson To: Aldy Hernandez Cc: Jakub Jelinek , gcc-patches@gcc.gnu.org, jason@redhat.com, mark@codesourcery.com In-Reply-To: <20080902220221.GA9263@redhat.com> References: <20080822215202.GA13803@redhat.com> <20080901150109.GA956@redhat.com> <20080901194334.GR32376@hs20-bc2-1.build.redhat.com> <20080902220221.GA9263@redhat.com> Content-Type: text/plain Date: Tue, 02 Sep 2008 22:48:00 -0000 Message-Id: <1220393656.23114.0.camel@stone.twiddle.home> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2008-09/txt/msg00177.txt.bz2 On Tue, 2008-09-02 at 18:02 -0400, Aldy Hernandez wrote: > * diagnostic.c (error_at): New. > * toplev.h (error_at): New prototype. > * c-typeck.c (build_array_ref): Call error_at instead of error. > Pass location to pedwarn. > cp/ > * typeck.c (build_array_ref): Use new location argument. > * class.c (build_vtbl_ref_1): Pass location to build_array_ref. > * call.c (build_new_op): Same. > * decl2.c (grok_array_decl): Same. > * cp-tree.h (build_array_ref): Add location argument to prototype. Ok. r~