aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-03-04 08:39:21 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-03-04 08:39:21 +0100
commit6a27431a5482e70110ff3487bd7c7a8e90fbad9c (patch)
tree578d2623d30cb0d8c924ce8c14f543fe2424562f
parentfba054c26857d342f1e274870767a5eab14773b0 (diff)
downloadgcc-6a27431a5482e70110ff3487bd7c7a8e90fbad9c.zip
gcc-6a27431a5482e70110ff3487bd7c7a8e90fbad9c.tar.gz
gcc-6a27431a5482e70110ff3487bd7c7a8e90fbad9c.tar.bz2
extend.texi (__builtin_alloca, [...]): Fix @xref usage.
* doc/extend.texi (__builtin_alloca, __builtin_alloca_with_align): Fix @xref usage. From-SVN: r233960
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/doc/extend.texi7
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6f7e896..828f608 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2016-03-04 Jakub Jelinek <jakub@redhat.com>
+ * doc/extend.texi (__builtin_alloca, __builtin_alloca_with_align):
+ Fix @xref usage.
+
PR debug/69947
* dwarf2out.c (prune_unused_types_walk_loc_descr): Handle
all other ops that have dw_val_class_die_ref operands,
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 5713829..bdb43ba 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -10714,10 +10714,11 @@ it is the responsibility of its caller to make sure the argument doesn't
cause it to exceed the stack size limit.
The @code{__builtin_alloca} function is provided to make it possible to
allocate on the stack arrays of bytes with an upper bound that may be
-computed at run time. Since C99 @xref{Variable Length} Arrays offer
+computed at run time. Since C99 Variable Length Arrays offer
similar functionality under a portable, more convenient, and safer
interface they are recommended instead, in both C99 and C++ programs
where GCC provides them as an extension.
+@xref{Variable Length}, for details.
@end deftypefn
@@ -10761,10 +10762,10 @@ the argument doesn't cause it to exceed the stack size limit.
The @code{__builtin_alloca_with_align} function is provided to make
it possible to allocate on the stack overaligned arrays of bytes with
an upper bound that may be computed at run time. Since C99
-@xref{Variable Length} Arrays offer the same functionality under
+Variable Length Arrays offer the same functionality under
a portable, more convenient, and safer interface they are recommended
instead, in both C99 and C++ programs where GCC provides them as
-an extension.
+an extension. @xref{Variable Length}, for details.
@end deftypefn