summaryrefslogtreecommitdiff
path: root/gcc/dumpfile.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2018-08-28 14:08:45 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2018-08-28 14:08:45 +0000
commit1978408086a9df584d2cdb3f36e6639de5a28459 (patch)
tree582089380799882191e2f61ac93f1707ab8796cb /gcc/dumpfile.h
parent49aecbebe25714a59fbd18e4852c411587db1994 (diff)
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/dumpfile.h')
-rw-r--r--gcc/dumpfile.h2
1 files changed, 1 insertions, 1 deletions
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)