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]

[patch, doc] fix PR65129, markup on __builtin_assume_aligned


I've checked in this trivial patch to fix a markup error on the return type for __builtin_assume_aligned. I scanned through all the builtin documentation but didn't spot any similar instances of missing braces.

-Sandra

2015-11-16  Sandra Loosemore  <sandra@codesourcery.com>

	PR 65129
	* doc/extend.texi (__builtin_assume_aligned): Fix formatting of
	return value.
Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi	(revision 230450)
+++ gcc/doc/extend.texi	(working copy)
@@ -10907,7 +10907,7 @@ int g (int c)
 
 @end deftypefn
 
-@deftypefn {Built-in Function} void *__builtin_assume_aligned (const void *@var{exp}, size_t @var{align}, ...)
+@deftypefn {Built-in Function} {void *} __builtin_assume_aligned (const void *@var{exp}, size_t @var{align}, ...)
 This function returns its first argument, and allows the compiler
 to assume that the returned pointer is at least @var{align} bytes
 aligned.  This built-in can have either two or three arguments,

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