* [PATCH, doc]: Fix some texinfo warnings
@ 2019-02-26 18:16 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2019-02-26 18:16 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
2019-02-26 Uroš Bizjak <ubizjak@gmail.com>
* doc/extend.texi (__builtin_object_size):
Use @pxref instead of @xref inside parenthesis.
(__builtin_has_attribute): Add missing comma after @xref.
(__builtin_object_size): Ditto.
* doc/md.texi (cond_*{mode}): Use @samp instead of @var around op1[i].
* fortran/invoke.texi (-ffpe-trap): Use @var for every item
in the list.
Bootstrapped on x86-64-linux-gnu, committed to mainline SVN as obvious.
Uros.
[-- Attachment #2: d.diff.txt --]
[-- Type: text/plain, Size: 2964 bytes --]
Index: doc/extend.texi
===================================================================
--- doc/extend.texi (revision 269217)
+++ doc/extend.texi (working copy)
@@ -11775,7 +11775,7 @@
@var{ptr} to the end of the object @var{ptr} pointer points to
(if known at compile time). To determine the sizes of dynamically allocated
objects the function relies on the allocation functions called to obtain
-the storage to be declared with the @code{alloc_size} attribute (@xref{Common
+the storage to be declared with the @code{alloc_size} attribute (@pxref{Common
Function Attributes}). @code{__builtin_object_size} never evaluates
its arguments for side effects. If there are any side effects in them, it
returns @code{(size_t) -1} for @var{type} 0 or 1 and @code{(size_t) 0}
@@ -12560,7 +12560,7 @@
@var{attribute} argument is an attribute name optionally followed by
a comma-separated list of arguments enclosed in parentheses. Both forms
of attribute names---with and without double leading and trailing
-underscores---are recognized. @xref{Attribute Syntax} for details.
+underscores---are recognized. @xref{Attribute Syntax}, for details.
When no attribute arguments are specified for an attribute that expects
one or more arguments the function returns @code{true} if
@var{type-or-expression} has been declared with the attribute regardless
@@ -13163,7 +13163,8 @@
@end deftypefn
@deftypefn {Built-in Function}{size_t} __builtin_object_size (const void * @var{ptr}, int @var{type})
-Returns the size of an object pointed to by @var{ptr}. @xref{Object Size Checking} for a detailed description of the function.
+Returns the size of an object pointed to by @var{ptr}. @xref{Object Size
+Checking}, for a detailed description of the function.
@end deftypefn
@deftypefn {Built-in Function} double __builtin_huge_val (void)
Index: doc/md.texi
===================================================================
--- doc/md.texi (revision 269217)
+++ doc/md.texi (working copy)
@@ -6628,7 +6628,7 @@
where, for example, @var{op} is @code{+} for @samp{cond_add@var{mode}}.
When defined for floating-point modes, the contents of @samp{op3[i]}
-are not interpreted if @var{op1[i]} is false, just like they would not
+are not interpreted if @samp{op1[i]} is false, just like they would not
be in a normal C @samp{?:} condition.
Operands 0, 2, 3 and 4 all have mode @var{m}. Operand 1 is a scalar
Index: fortran/invoke.texi
===================================================================
--- fortran/invoke.texi (revision 269217)
+++ fortran/invoke.texi (working copy)
@@ -1205,7 +1205,7 @@
If the option is used more than once in the command line, the lists will
be joined: '@code{ffpe-trap=}@var{list1} @code{ffpe-trap=}@var{list2}'
-is equivalent to @code{ffpe-trap=}@var{list1,list2}.
+is equivalent to @code{ffpe-trap=}@var{list1},@var{list2}.
Note that once enabled an exception cannot be disabled (no negative form).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-26 17:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-26 18:16 [PATCH, doc]: Fix some texinfo warnings Uros Bizjak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).