This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: hook doc patch (32/112): TARGET_STDARG_OPTIMIZE_HOOK


Quoting "Joseph S. Myers" <joseph@codesourcery.com>:

Formatting issues: @code{VA_ARG_EXPR}, @var{stmt}, @code{va_list}.  This
is not a review or approval of the patch-as-changed.



2010-01-15  Joern Rennecke  <amylaar@spamcop.net>

	* tm.texi (TARGET_STDARG_OPTIMIZE_HOOK): Document.

Index: tm.texi
===================================================================
--- tm.texi	(revision 155367)
+++ tm.texi	(working copy)
@@ -5098,6 +5118,12 @@ defined, then define this hook to return
 Otherwise, you should not define this hook.
 @end deftypefn
 
+@deftypefn {Target Hook} bool TARGET_STDARG_OPTIMIZE_HOOK (struct stdarg_info *@var{ai}, const_gimple @var{stmt})
+Perform architecture specific checking of statements gimplified from
+@code{VA_ARG_EXPR}.  @var{stmt} is the statement.  Returns true if
+the statement doesn't need to be checked for @code{va_list} references.
+@end deftypefn
+
 @node Trampolines
 @section Trampolines for Nested Functions
 @cindex trampolines for nested functions

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]