From: David Malcolm Date: Tue, 28 Aug 2018 14:08:45 +0000 (+0000) Subject: Fix version check for ATTRIBUTE_GCC_DUMP_PRINTF X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1978408086a9df584d2cdb3f36e6639de5a28459;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 20f8d0d50be..3ff21c3b5b8 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 0305d36fa78..671b7b9c8a6 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)