From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13621 invoked by alias); 8 Dec 2006 04:47:49 -0000 Received: (qmail 13611 invoked by uid 22791); 8 Dec 2006 04:47:48 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0506.google.com (HELO wx-out-0506.google.com) (66.249.82.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Dec 2006 04:47:42 +0000 Received: by wx-out-0506.google.com with SMTP id h31so742652wxd for ; Thu, 07 Dec 2006 20:47:40 -0800 (PST) Received: by 10.64.148.8 with SMTP id v8mr5026876qbd.1165553260664; Thu, 07 Dec 2006 20:47:40 -0800 (PST) Received: from ?192.168.0.101? ( [38.99.84.40]) by mx.google.com with ESMTP id p4sm2159731qba.2006.12.07.20.47.39; Thu, 07 Dec 2006 20:47:40 -0800 (PST) Subject: Re: [PATCH] Fix PR/8268: implement compile time array subscript checking To: Dirk =?ISO-8859-1?Q?M=FCller?= Cc: gcc-patches@gcc.gnu.org In-Reply-To: <200612071051.49425.dmueller@suse.de> References: <200612062335.kB6NZOk9013168@localhost.localdomain> <200612071051.49425.dmueller@suse.de> Content-Type: text/plain; charset=utf-8 Date: Fri, 08 Dec 2006 04:47:00 -0000 Message-Id: <1165553256.20686.1.camel@celery.andrew.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) Content-Transfer-Encoding: 8bit From: Andrew Pinski 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: 2006-12/txt/msg00519.txt.bz2 On Thu, 2006-12-07 at 10:51 +0100, Dirk Müller wrote: > +@item -Warray-bounds > +@opindex Warray-bounds > +This option is only active when @option{-O2} or higher is active. It > warns > +about subscripts to arrays that are always out of bounds. > + > > Ok? Or should I mention the -ftree-vrp dependency explicitely ? I still think it should mention the -ftree-vrp dependency explicitly because people can use -O1 -ftree-vrp and still get the warnings and then it will look funny as the documentation says -O2 and above. Thanks, Andrew Pinski