aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2005-03-08 21:01:47 +0000
committerFariborz Jahanian <fjahanian@gcc.gnu.org>2005-03-08 21:01:47 +0000
commit4d3e6fae4dd35a70c3b63fad8e02b6d4b4b70002 (patch)
tree8e733d5b7a3ce8d9267f4f50ab0923c79cbd51f2 /gcc/target.h
parent2470e6670af2f53985d726d89c4c3e52e8d7e0b2 (diff)
downloadgcc-4d3e6fae4dd35a70c3b63fad8e02b6d4b4b70002.zip
gcc-4d3e6fae4dd35a70c3b63fad8e02b6d4b4b70002.tar.gz
gcc-4d3e6fae4dd35a70c3b63fad8e02b6d4b4b70002.tar.bz2
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
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h5
1 files changed, 5 insertions, 0 deletions
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. */