From 7a241624f2a4e684fff1156a8b975801007a425b Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Tue, 26 Jan 2010 15:21:56 +0000 Subject: [PATCH] tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter. Fix types of fndecl and arglist parameters. From-SVN: r156250 --- gcc/ChangeLog | 7 +++++++ gcc/doc/tm.texi | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d34ebb7ebf..0d292fa17e4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2010-01-26 Joern Rennecke + + * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. + + (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter. + Fix types of fndecl and arglist parameters. + 2010-01-26 Richard Guenther PR middle-end/42806 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 0a723418cec..e69b0e16b75 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -781,7 +781,8 @@ This target hook is called whenever the user specifies one of the target-specific C language family options described by the @file{.opt} definition files(@pxref{Options}). It has the opportunity to do some option-specific processing and should return true if the option is -valid. The default definition does nothing but return false. +valid. The arguments are like for @code{TARGET_HANDLE_OPTION}. The +default definition does nothing but return false. In general, you should use @code{TARGET_HANDLE_OPTION} to handle options. However, if processing an option requires routines that are @@ -10650,7 +10651,7 @@ ignored. This function should return the result of the call to the built-in function. @end deftypefn -@deftypefn {Target Hook} tree TARGET_RESOLVE_OVERLOADED_BUILTIN (tree @var{fndecl}, tree @var{arglist}) +@deftypefn {Target Hook} tree TARGET_RESOLVE_OVERLOADED_BUILTIN (unsigned int @var{loc}, tree @var{fndecl}, void *@var{arglist}) Select a replacement for a machine specific built-in function that was set up by @samp{TARGET_INIT_BUILTINS}. This is done @@ -10660,6 +10661,7 @@ declaration of the built-in function. @var{arglist} is the list of arguments passed to the built-in function. The result is a complete expression that implements the operation, usually another @code{CALL_EXPR}. +@var{arglist} really has type @samp{VEC(tree,gc)*} @end deftypefn @deftypefn {Target Hook} tree TARGET_FOLD_BUILTIN (tree @var{fndecl}, tree @var{arglist}, bool @var{ignore}) -- 2.30.2