From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1115 invoked by alias); 6 May 2011 17:05:42 -0000 Received: (qmail 1103 invoked by uid 22791); 6 May 2011 17:05:41 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-iw0-f175.google.com (HELO mail-iw0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 May 2011 17:05:26 +0000 Received: by iwn10 with SMTP id 10so3409552iwn.20 for ; Fri, 06 May 2011 10:05:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.163.10 with SMTP id a10mr2975259icy.493.1304701524976; Fri, 06 May 2011 10:05:24 -0700 (PDT) Received: by 10.42.201.18 with HTTP; Fri, 6 May 2011 10:05:24 -0700 (PDT) In-Reply-To: References: <20110505182734.5CC6A1E819C@cgda.mtv.corp.google.com> Date: Fri, 06 May 2011 17:09:00 -0000 Message-ID: Subject: Re: [google][RFA] add extra text to stack frame warnings (issue4479046) From: Andrew Pinski To: Chris Demetriou Cc: Diego Novillo , reply@codereview.appspotmail.com, gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 2011-05/txt/msg00535.txt.bz2 On Fri, May 6, 2011 at 1:52 AM, Chris Demetriou wrote: > In theory, a more general warning-text-addition mechanism could be useful. > e.g. a flag that said "when outputting a warning about flag 'foo', > output this additional text" could be useful. > However, we haven't felt the need to do this for other warnings. > > IMO, a general solution along these lines would be solving a problem > that ~nobody has. =C2=A08-) We already output the option which enables the warning that seems like a general solution. Thanks, Andrew Pinski