From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4568 invoked by alias); 6 Jun 2006 19:18:34 -0000 Received: (qmail 4554 invoked by uid 22791); 6 Jun 2006 19:18:33 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.178) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Jun 2006 19:18:30 +0000 Received: by py-out-1112.google.com with SMTP id w49so1581505pyg for ; Tue, 06 Jun 2006 12:18:28 -0700 (PDT) Received: by 10.35.105.18 with SMTP id h18mr8643181pym; Tue, 06 Jun 2006 12:18:27 -0700 (PDT) Received: from ?17.201.27.128? ( [17.201.27.128]) by mx.gmail.com with ESMTP id w66sm1233430pyw.2006.06.06.12.18.27; Tue, 06 Jun 2006 12:18:27 -0700 (PDT) Message-ID: <4485D501.1090001@gmail.com> Date: Tue, 06 Jun 2006 19:25:00 -0000 From: Devang Patel User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Andrew Pinski CC: tromey@redhat.com, gcc@gcc.gnu.org Subject: Re: [RFC] Optimization Diary References: <200606061908.k56J88f9014402@earth.phy.uc.edu> In-Reply-To: <200606061908.k56J88f9014402@earth.phy.uc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00199.txt.bz2 Andrew Pinski wrote: >> These are not warnings and they should not cause build failures >> when -Werror is used, hence warnings are not suitable medium to >> communicate this info. >> > > There is a third type of diagnostic in GCC which gets not much > use at all. It is called note. It might be interesting to use that instead > of saying there is no way to cause no build failures with warnings. > That's what I meant when I said "hints" ... "However, GCC provides (notes) along with warnings and errors. But they all reside in build log. While doing performance analysis, build log may not be available hence it is required to have it on disk somewhere. " - Devang