diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-11-22 23:12:29 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-11-22 23:12:29 +0000 |
commit | 6ac0194d21d90e29832fd1c996ba23e6e183d328 (patch) | |
tree | f8959fdd1818cd96126e42cc4ebcbcb497abeb58 /gcc/doc | |
parent | df8702365b9124ee1b29f8a25ba23fa0982fa237 (diff) | |
download | gcc-6ac0194d21d90e29832fd1c996ba23e6e183d328.zip gcc-6ac0194d21d90e29832fd1c996ba23e6e183d328.tar.gz gcc-6ac0194d21d90e29832fd1c996ba23e6e183d328.tar.bz2 |
re PR c/14050 ([DR289] c99 restrict doesn't work in abs declarator)
PR c/14050
* c-decl.c (set_array_declarator_inner): Don't give error for
static or type qualifiers in abstract declarator. Remove
abstract_p parameter.
* c-tree.h (set_array_declarator_inner): Update prototype.
* c-parser.c (c_parser_direct_declarator_inner): Update call to
set_array_declarator_inner.
* doc/standards.texi: Update for C99 TC3.
testsuite:
* gcc.dg/c99-arraydecl-1.c: Don't expect errors for static or type
qualifiers in abstract declarator.
From-SVN: r130362
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/standards.texi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/doc/standards.texi b/gcc/doc/standards.texi index ddee01a..6b5e15b 100644 --- a/gcc/doc/standards.texi +++ b/gcc/doc/standards.texi @@ -37,6 +37,8 @@ with some exceptions, and possibly with some extensions. @cindex Technical Corrigendum 1 @cindex TC2 @cindex Technical Corrigendum 2 +@cindex TC3 +@cindex Technical Corrigendum 3 @cindex AMD1 @cindex freestanding implementation @cindex freestanding environment @@ -86,9 +88,9 @@ standard, use @option{-std=c99} or @option{-std=iso9899:1999}. (While in development, drafts of this standard version were referred to as @dfn{C9X}.) -Errors in the 1999 ISO C standard were corrected in two Technical -Corrigenda published in 2001 and 2004. GCC does not support the uncorrected -version. +Errors in the 1999 ISO C standard were corrected in three Technical +Corrigenda published in 2001, 2004 and 2007. GCC does not support the +uncorrected version. By default, GCC provides some extensions to the C language that on rare occasions conflict with the C standard. @xref{C |