From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14497 invoked by alias); 9 Aug 2007 16:36:25 -0000 Received: (qmail 14430 invoked by uid 22791); 9 Aug 2007 16:36:24 -0000 X-Spam-Check-By: sourceware.org Received: from mailhost.cs.tamu.edu (HELO postal.cs.tamu.edu) (128.194.138.100) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Aug 2007 16:36:14 +0000 Received: from gauss.cs.tamu.edu (gauss.cs.tamu.edu [128.194.146.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by postal.cs.tamu.edu (Postfix) with ESMTP id 7CCF946DE07; Thu, 9 Aug 2007 11:36:12 -0500 (CDT) Date: Thu, 09 Aug 2007 16:36:00 -0000 From: Gabriel Dos Reis To: =?ISO-8859-1?Q?Manuel_L=F3pez-Ib=E1=F1ez?= cc: "Kaveh R. GHAZI" , Paolo Bonzini , Mark Mitchell , gcc-patches@gcc.gnu.org Subject: Re: Add a __nowarn__ keyword In-Reply-To: <6c33472e0708090741s2917e6c2qd8775a8eb7b6040a@mail.gmail.com> Message-ID: References: <6c33472e0708080152i1fd84566pe806fc83f40df417@mail.gmail.com> <6c33472e0708080729n4d59f0bdn72a90a95a7881ad3@mail.gmail.com> <46B9F0B5.1080302@gnu.org> <6c33472e0708090741s2917e6c2qd8775a8eb7b6040a@mail.gmail.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323584-1385075961-1186677372=:17231" 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: 2007-08/txt/msg00590.txt.bz2 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323584-1385075961-1186677372=:17231 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-length: 541 On Thu, 9 Aug 2007, Manuel López-Ibáñez wrote: | > In order to see WARNING2, I have to uncomment the second pragma. But this | > is bad IMHO because it overrides the command line. | | Does it change the warning to an error? If that works, we only need a | new keyword "restore" or "default" that changes it to the command-line | value (or default value if there was no command-line setting) and et We need "restore" to change the state back its previous value before the pragma, not just before the setting at the command lines. -- Gaby --8323584-1385075961-1186677372=:17231--