diff options
author | David Malcolm <dmalcolm@redhat.com> | 2018-08-28 14:08:45 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2018-08-28 14:08:45 +0000 |
commit | 1978408086a9df584d2cdb3f36e6639de5a28459 (patch) | |
tree | 582089380799882191e2f61ac93f1707ab8796cb /gcc | |
parent | 49aecbebe25714a59fbd18e4852c411587db1994 (diff) | |
download | gcc-1978408086a9df584d2cdb3f36e6639de5a28459.zip gcc-1978408086a9df584d2cdb3f36e6639de5a28459.tar.gz gcc-1978408086a9df584d2cdb3f36e6639de5a28459.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dumpfile.h | 2 |
2 files changed, 7 insertions, 1 deletions
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 <dmalcolm@redhat.com> + + * 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 <rguenther@suse.de> 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) |