aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl-error.c
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@caip.rutgers.edu>2005-07-23 15:22:46 +0000
committerKaveh Ghazi <ghazi@caip.rutgers.edu>2005-07-23 15:22:46 +0000
commit44fbb5099cbc4843ebf8d436219f88473d89060b (patch)
tree81ca62862625867a1d20bc850ee48d820dd6126d /gcc/rtl-error.c
parent7b861bd97cc10fac926635bc4e03942f18f8e15f (diff)
* Makefile.in (C_TREE_H): Update dependencies.
* c-tree.h: Include toplev.h. * diagnostic.h (diagnostic_set_info): Add format attribute. * rtl-error.c (diagnostic_for_asm): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102309 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl-error.c')
-rw-r--r--gcc/rtl-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl-error.c b/gcc/rtl-error.c
index 3a950b2ffc4..4f5a096feba 100644
--- a/gcc/rtl-error.c
+++ b/gcc/rtl-error.c
@@ -34,7 +34,7 @@ Boston, MA 02110-1301, USA. */
#include "diagnostic.h"
static location_t location_for_asm (rtx);
-static void diagnostic_for_asm (rtx, const char *, va_list *, diagnostic_t);
+static void diagnostic_for_asm (rtx, const char *, va_list *, diagnostic_t) ATTRIBUTE_GCC_DIAG(2,0);
/* Figure the location of the given INSN. */
static location_t