From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11729 invoked by alias); 26 May 2011 18:40:51 -0000 Received: (qmail 11713 invoked by uid 22791); 26 May 2011 18:40:50 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp207.alice.it (HELO smtp207.alice.it) (82.57.200.103) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 May 2011 18:40:36 +0000 Received: from [192.168.1.4] (79.53.14.183) by smtp207.alice.it (8.5.124.08) id 4DB138870356616D; Thu, 26 May 2011 20:40:35 +0200 Message-ID: <4DDE9EC7.4020807@oracle.com> Date: Thu, 26 May 2011 20:23:00 -0000 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: Jason Merrill Subject: Re: [C++ Patch] PR 42056 References: <4DDE9C50.7050601@oracle.com> In-Reply-To: <4DDE9C50.7050601@oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 2011-05/txt/msg02094.txt.bz2 On 05/26/2011 08:30 PM, Paolo Carlini wrote: > ...also, not returning error_mark_node unconditionally, means a better > diagnostic, without redundant "array bound is not an integer constant > before...". Just noticed that outside a template, we do indeed emit the additional "array bound is not an integer constant before..." message. If we want it, I have just to return error_mark_node unconditionally. Just let me know. Paolo.