aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2019-02-26 18:21:43 +0100
committerUros Bizjak <uros@gcc.gnu.org>2019-02-26 18:21:43 +0100
commit062937663cd60daaf67599a7f8fcbed21636b111 (patch)
tree1ae12face5fc8b5add9347b55b134e49b53809aa
parentf73675e3c7503d6d48ea5ac29cd9b5e9d007668f (diff)
downloadgcc-062937663cd60daaf67599a7f8fcbed21636b111.zip
gcc-062937663cd60daaf67599a7f8fcbed21636b111.tar.gz
gcc-062937663cd60daaf67599a7f8fcbed21636b111.tar.bz2
extend.texi (__builtin_object_size): Use @pxref instead of @xref inside parenthesis.
* 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. From-SVN: r269219
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/doc/extend.texi7
-rw-r--r--gcc/doc/md.texi2
-rw-r--r--gcc/fortran/invoke.texi2
4 files changed, 16 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 92a90bc..8730434 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
2019-02-26 Jeff Law <law@redhat.com>
PR rtl-optimization/87761
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 696d892c..7425d89 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -11775,7 +11775,7 @@ is a built-in construct that returns a constant number of bytes from
@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 @@ restrictions as the argument to @code{typeof} (@pxref{Typeof}). The
@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 @@ and GCC does not issue a warning.
@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)
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 6ffb69b..30612a6 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -6628,7 +6628,7 @@ for (i = 0; i < GET_MODE_NUNITS (@var{m}); i++)
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
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index a5d8196..8364c67 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -1205,7 +1205,7 @@ these three exceptions is probably a good idea.
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).