This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: hook doc patch (16/112): TARGET_PROMOTE_PROTOTYPES
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Jan 2010 12:27:41 -0500
- Subject: RFA: hook doc patch (16/112): TARGET_PROMOTE_PROTOTYPES
2010-01-15 Joern Rennecke <amylaar@spamcop.net>
* tm.texi (TARGET_PROMOTE_PROTOTYPES): Fix argument type.
Index: tm.texi
===================================================================
--- tm.texi (revision 155367)
+++ tm.texi (working copy)
@@ -3867,7 +3879,7 @@ The macros in this section control how a
on the stack. See the following section for other macros that
control passing certain arguments in registers.
-@deftypefn {Target Hook} bool TARGET_PROMOTE_PROTOTYPES (tree @var{fntype})
+@deftypefn {Target Hook} bool TARGET_PROMOTE_PROTOTYPES (const_tree @var{fntype})
This target hook returns @code{true} if an argument declared in a
prototype as an integral type smaller than @code{int} should actually be
passed as an @code{int}. In addition to avoiding errors in certain