From 4d3e6fae4dd35a70c3b63fad8e02b6d4b4b70002 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 8 Mar 2005 21:01:47 +0000 Subject: Target Hook to issue diagnostics for AltiVec argument to funtion with unknown prototype. Target Hook to issue diagnostics for AltiVec argument to funtion with unknown prototype. OKed by Mark Mitchel. From-SVN: r96124 --- gcc/target.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/target.h') diff --git a/gcc/target.h b/gcc/target.h index 0a54c6f..914d6de 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -543,6 +543,11 @@ struct gcc_target in registers; the balance is therefore passed on the stack. */ int (* arg_partial_bytes) (CUMULATIVE_ARGS *ca, enum machine_mode mode, tree type, bool named); + + /* Return the diagnostic message string if function without a prototype + is not allowed for this 'val' argument; NULL otherwise. */ + const char *(*invalid_arg_for_unprototyped_fn) (tree typelist, + tree funcdecl, tree val); } calls; /* Functions specific to the C++ frontend. */ -- cgit v1.1