From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50442 invoked by alias); 28 Aug 2018 06:44:08 -0000 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 Received: (qmail 49983 invoked by uid 89); 28 Aug 2018 06:44:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Aug 2018 06:44:06 +0000 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5D4213082DD1; Tue, 28 Aug 2018 06:44:05 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-92.ams2.redhat.com [10.36.116.92]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CBAE5587DC; Tue, 28 Aug 2018 06:44:04 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id w7S6i2Mf010757; Tue, 28 Aug 2018 08:44:02 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id w7S6hxIj008991; Tue, 28 Aug 2018 08:43:59 +0200 Date: Tue, 28 Aug 2018 06:44:00 -0000 From: Jakub Jelinek To: David Malcolm Cc: Joseph Myers , Richard Biener , GCC Patches Subject: Re: [PATCH] Fix version check for ATTRIBUTE_GCC_DUMP_PRINTF Message-ID: <20180828064359.GM2218@tucnak> Reply-To: Jakub Jelinek References: <20180827065751.GB2218@tucnak> <1535416331-352-1-git-send-email-dmalcolm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1535416331-352-1-git-send-email-dmalcolm@redhat.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg01720.txt.bz2 On Mon, Aug 27, 2018 at 08:32:11PM -0400, David Malcolm wrote: > gcc/ChangeLog: > * dumpfile.h (ATTRIBUTE_GCC_DUMP_PRINTF): Change version check on > GCC_VERSION for usage of "__gcc_dump_printf__" format from > >= 3005 to >= 9000. Ok, thanks. > --- > gcc/dumpfile.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/dumpfile.h b/gcc/dumpfile.h > index 0305d36..671b7b9 100644 > --- a/gcc/dumpfile.h > +++ b/gcc/dumpfile.h > @@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see > format codes (see pretty-print.c), with additional codes for middle-end > specific entities (see dumpfile.c). */ > > -#if GCC_VERSION >= 3005 > +#if GCC_VERSION >= 9000 > #define ATTRIBUTE_GCC_DUMP_PRINTF(m, n) \ > __attribute__ ((__format__ (__gcc_dump_printf__, m ,n))) \ > ATTRIBUTE_NONNULL(m) > -- > 1.8.5.3 Jakub