Patchwork Fix VLAs documentation reference to non-conformance

login
register
mail settings
Submitter Joseph S. Myers
Date Oct. 15, 2010, 2:49 p.m.
Message ID <Pine.LNX.4.64.1010151446580.30499@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/67965/
State New
Headers show

Comments

Joseph S. Myers - Oct. 15, 2010, 2:49 p.m.
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.

Patch

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