aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2007-11-22 23:12:29 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2007-11-22 23:12:29 +0000
commit6ac0194d21d90e29832fd1c996ba23e6e183d328 (patch)
treef8959fdd1818cd96126e42cc4ebcbcb497abeb58 /gcc/c-tree.h
parentdf8702365b9124ee1b29f8a25ba23fa0982fa237 (diff)
downloadgcc-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/c-tree.h')
-rw-r--r--gcc/c-tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index c81801b..28f99c6 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -487,8 +487,7 @@ extern void c_push_function_context (struct function *);
extern void c_pop_function_context (struct function *);
extern void push_parm_decl (const struct c_parm *);
extern struct c_declarator *set_array_declarator_inner (struct c_declarator *,
- struct c_declarator *,
- bool);
+ struct c_declarator *);
extern tree c_builtin_function (tree);
extern void shadow_tag (const struct c_declspecs *);
extern void shadow_tag_warned (const struct c_declspecs *, int);