aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index ba722bc..9241b3e 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -4991,6 +4991,7 @@ grokfield (filename, line, declarator, declspecs, width)
finish_decl (value, NULL_TREE, NULL_TREE);
DECL_INITIAL (value) = width;
+ maybe_objc_check_decl (value);
return value;
}