From: Jakub Jelinek Date: Fri, 4 Mar 2016 07:39:21 +0000 (+0100) Subject: extend.texi (__builtin_alloca, [...]): Fix @xref usage. X-Git-Tag: basepoints/gcc-7~594 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a27431a5482e70110ff3487bd7c7a8e90fbad9c;p=thirdparty%2Fgcc.git extend.texi (__builtin_alloca, [...]): Fix @xref usage. * doc/extend.texi (__builtin_alloca, __builtin_alloca_with_align): Fix @xref usage. From-SVN: r233960 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f7e896e708c..828f6081633e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2016-03-04 Jakub Jelinek + * 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 5713829ca19d..bdb43ba4ace4 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