From 1978408086a9df584d2cdb3f36e6639de5a28459 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 28 Aug 2018 14:08:45 +0000 Subject: [PATCH] Fix version check for ATTRIBUTE_GCC_DUMP_PRINTF 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. From-SVN: r263920 --- gcc/ChangeLog | 6 ++++++ gcc/dumpfile.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 20f8d0d..3ff21c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-08-28 David Malcolm + + * dumpfile.h (ATTRIBUTE_GCC_DUMP_PRINTF): Change version check on + GCC_VERSION for usage of "__gcc_dump_printf__" format from + >= 3005 to >= 9000. + 2018-08-28 Richard Biener PR tree-optimization/87124 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) -- 2.7.4