From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16929 invoked by alias); 15 Apr 2008 18:54:17 -0000 Received: (qmail 16915 invoked by uid 22791); 15 Apr 2008 18:54:14 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Apr 2008 18:53:51 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m3FInmZS032656; Tue, 15 Apr 2008 14:49:48 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3FInliv029921; Tue, 15 Apr 2008 14:49:47 -0400 Received: from opsy.redhat.com (vpn-248-137.boston.redhat.com [10.13.248.137]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m3FInkMe011464; Tue, 15 Apr 2008 14:49:47 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 2500B37817D; Tue, 15 Apr 2008 12:49:46 -0600 (MDT) To: Simon Baldwin Cc: Mark Mitchell , Richard Guenther , gcc-patches@gcc.gnu.org, Dirk Mueller Subject: Re: [PATCH][RFC] Add a subset of -Warray-bounds warnings to C/C++ front ends References: <20080404000715.3C75741AB58@localhost> <84fc9c000804040241l98b2f6esd052290fa66b4303@mail.gmail.com> <47FBC58A.5020702@codesourcery.com> <47FFC01A.6050000@google.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Tue, 15 Apr 2008 19:18:00 -0000 In-Reply-To: <47FFC01A.6050000@google.com> (Simon Baldwin's message of "Fri\, 11 Apr 2008 12\:46\:34 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-04/txt/msg01232.txt.bz2 >>>>> "Simon" == Simon Baldwin writes: Simon> One thing I wasn't able to fathom was how to suppress warnings Simon> about "sizeof(a[-1])" in the C and C++ frontends; if anyone's got any Simon> hints on this, I'd love to hear them. The global 'skip_evaluation' is set while handling sizeof and some other things. It may be what you want. Tom