extend.texi (Variable Length): Don't refer to VLAs not conforming to C99.

* doc/extend.texi (Variable Length): Don't refer to VLAs not
	conforming to C99.

From-SVN: r165509
This commit is contained in:
Joseph Myers 2010-10-15 15:45:33 +01:00 committed by Joseph Myers
parent a32b99ad60
commit fbdaa0b24c
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-10-15 Joseph Myers <joseph@codesourcery.com>
* doc/extend.texi (Variable Length): Don't refer to VLAs not
conforming to C99.
2010-10-15 Joseph Myers <joseph@codesourcery.com>
* config/rx/rx.c (rx_option_optimization): Change to

View file

@ -1358,9 +1358,7 @@ member of type @code{char}.
@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