Fix VLAs documentation reference to non-conformance
Joseph S. Myers
joseph@codesourcery.com
Fri Oct 15 15:14:00 GMT 2010
When I fixed the known corner cases of VLAs I updated c99status.html
<http://gcc.gnu.org/ml/gcc-patches/2009-04/msg02042.html> but omitted to
update extend.texi. I've now applied this patch to trunk and 4.5 branch
to remove an obsolete parenthetical remark.
2010-10-15 Joseph Myers <joseph@codesourcery.com>
* doc/extend.texi (Variable Length): Don't refer to VLAs not
conforming to C99.
Index: doc/extend.texi
===================================================================
--- doc/extend.texi (revision 165508)
+++ doc/extend.texi (working copy)
@@ -1358,9 +1358,7 @@
@cindex VLAs
Variable-length automatic arrays are allowed in ISO C99, and as an
-extension GCC accepts them in C90 mode and in C++. (However, GCC's
-implementation of variable-length arrays does not yet conform in detail
-to the ISO C99 standard.) These arrays are
+extension GCC accepts them in C90 mode and in C++. These arrays are
declared like any other automatic arrays, but with a length that is not
a constant expression. The storage is allocated at the point of
declaration and deallocated when the brace-level is exited. For
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list