summaryrefslogtreecommitdiff
path: root/gcc/dump-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dump-context.h')
-rw-r--r--gcc/dump-context.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/dump-context.h b/gcc/dump-context.h
index f40ea14d2dc..5ac9dd60e8d 100644
--- a/gcc/dump-context.h
+++ b/gcc/dump-context.h
@@ -22,6 +22,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_DUMP_CONTEXT_H
#define GCC_DUMP_CONTEXT_H 1
+#include "dumpfile.h"
#include "pretty-print.h"
/* A class for handling the various dump_* calls.
@@ -73,11 +74,11 @@ class dump_context
tree t);
void dump_printf_va (dump_flags_t dump_kind, const char *format,
- va_list ap) ATTRIBUTE_PRINTF (3, 0);
+ va_list *ap) ATTRIBUTE_GCC_DUMP_PRINTF (3, 0);
void dump_printf_loc_va (dump_flags_t dump_kind, const dump_location_t &loc,
- const char *format, va_list ap)
- ATTRIBUTE_PRINTF (4, 0);
+ const char *format, va_list *ap)
+ ATTRIBUTE_GCC_DUMP_PRINTF (4, 0);
template<unsigned int N, typename C>
void dump_dec (dump_flags_t dump_kind, const poly_int<N, C> &value);