aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-01-26 15:21:56 +0000
committerJoern Rennecke <amylaar@spamcop.net>2010-01-26 15:21:56 +0000
commit8d6a3986a4ff8e37ed0289dba643573886cefeba (patch)
tree2b813d0ea32f1623dea63ad587fa47bb351733df
parenta85306a059ac25567816d86b40c6f7f4076c54b4 (diff)
* doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments.
(TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter. Fix types of fndecl and arglist parameters. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@156250 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/doc/tm.texi6
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 <amylaar@spamcop.net>
+
+ * 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 <rguenther@suse.de>
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})