mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
a32b99ad60
commit
fbdaa0b24c
|
@ -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>
|
2010-10-15 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* config/rx/rx.c (rx_option_optimization): Change to
|
* config/rx/rx.c (rx_option_optimization): Change to
|
||||||
|
|
|
@ -1358,9 +1358,7 @@ member of type @code{char}.
|
||||||
@cindex VLAs
|
@cindex VLAs
|
||||||
|
|
||||||
Variable-length automatic arrays are allowed in ISO C99, and as an
|
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
|
extension GCC accepts them in C90 mode and in C++. These arrays are
|
||||||
implementation of variable-length arrays does not yet conform in detail
|
|
||||||
to the ISO C99 standard.) These arrays are
|
|
||||||
declared like any other automatic arrays, but with a length that is not
|
declared like any other automatic arrays, but with a length that is not
|
||||||
a constant expression. The storage is allocated at the point of
|
a constant expression. The storage is allocated at the point of
|
||||||
declaration and deallocated when the brace-level is exited. For
|
declaration and deallocated when the brace-level is exited. For
|
||||||
|
|
Loading…
Reference in New Issue