]> gcc.gnu.org Git - gcc.git/commitdiff
Fix version check for ATTRIBUTE_GCC_DUMP_PRINTF
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 28 Aug 2018 14:08:45 +0000 (14:08 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 28 Aug 2018 14:08:45 +0000 (14:08 +0000)
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
gcc/dumpfile.h

index 20f8d0d50be1033415866bd2be7424a953107c16..3ff21c3b5b8809e4815d8c0e0f8235bdebf2c87f 100644 (file)
@@ -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
index 0305d36fa78e2a4f90d789d1ace8adacc72689f6..671b7b9c8a60f8053a64786cd9edca35efa15278 100644 (file)
@@ -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)
This page took 0.095564 seconds and 5 git commands to generate.