mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 14:31:48 +08:00
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
This commit is contained in:
parent
49aecbebe2
commit
1978408086
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user