From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20688 invoked by alias); 3 Nov 2012 17:19:08 -0000 Received: (qmail 20679 invoked by uid 22791); 3 Nov 2012 17:19:08 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Nov 2012 17:19:01 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TUhN5-0001pj-SR from joseph_myers@mentor.com ; Sat, 03 Nov 2012 10:18:59 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 3 Nov 2012 10:18:59 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Sat, 3 Nov 2012 17:18:57 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1TUhN2-0004ZO-Cc; Sat, 03 Nov 2012 17:18:56 +0000 Date: Sat, 03 Nov 2012 17:19:00 -0000 From: "Joseph S. Myers" To: =?ISO-8859-1?Q?Manuel_L=F3pez=2DIb=E1=F1ez?= CC: Gcc Patch List Subject: Re: PR c/53063 Handle Wformat with LangEnabledBy In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1152306461-148716240-1351963136=:16168" 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-11/txt/msg00273.txt.bz2 ---1152306461-148716240-1351963136=:16168 Content-Type: text/plain; charset="X-UNKNOWN" Content-Transfer-Encoding: QUOTED-PRINTABLE Content-length: 903 On Sat, 27 Oct 2012, Manuel L=F3pez-Ib=E1=F1ez wrote: > On 19 October 2012 18:17, Joseph S. Myers wrote: > > On Wed, 17 Oct 2012, Manuel L=F3pez-Ib=E1=F1ez wrote: > > > >> documentation but I can also implement -Wformat=3D0 being an alias for > >> -Wno-format and -Wformat=3D1 an alias for -Wformat and simply reject > >> -Wno-format=3D. > > > > I think that's what's wanted; -Wno-format=3D should be rejected, -Wform= at=3D > > should take an arbitrary integer level (of which at present all those > > above 2 are equivalent to 2, just as -O for n > 3 is equivalent to > > -O3). >=20 > This patch implements exactly that. Bootstrapped and regression tested > on x86_64-linux-gnu. OK? OK, but unless there is a dependency between the opt*.awk refactoring and=20 the c-family changes, please make those two separate commits. --=20 Joseph S. Myers joseph@codesourcery.com= ---1152306461-148716240-1351963136=:16168--