From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 923 invoked by alias); 9 Aug 2007 20:40:14 -0000 Received: (qmail 536 invoked by uid 22791); 9 Aug 2007 20:40:13 -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; Thu, 09 Aug 2007 20:40:06 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l79Ke4Ea030700; Thu, 9 Aug 2007 16:40:04 -0400 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [10.11.254.111]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l79Ke4gp015663; Thu, 9 Aug 2007 16:40:04 -0400 Received: from greed.delorie.com (vpn-15-67.rdu.redhat.com [10.11.15.67]) by post-office.corp.redhat.com (8.13.8/8.13.8) with ESMTP id l79Ke3QO018298; Thu, 9 Aug 2007 16:40:04 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.8/8.13.8) with ESMTP id l79Ke2uw005419; Thu, 9 Aug 2007 16:40:02 -0400 Received: (from dj@localhost) by greed.delorie.com (8.13.8/8.13.8/Submit) id l79Ke2nT005416; Thu, 9 Aug 2007 16:40:02 -0400 To: Ian Lance Taylor Cc: gcc-patches@gcc.gnu.org Subject: Re: Add a __nowarn__ keyword References: From: DJ Delorie Date: Thu, 09 Aug 2007 20:40:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2007-08/txt/msg00600.txt.bz2 Ian Lance Taylor writes: > We have a facility to disable warnings in the tree codes: the > TREE_NO_WARNING flag. If we add the diagnostic settings chain, what we'd need to do is somehow refer to a point in the chain from the tree objects, either directly (a new field - ick) or indirectly (a tree code for "different warnings for my children").