diff options
Diffstat (limited to 'gcc/c/c-decl.c')
-rw-r--r-- | gcc/c/c-decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c index 09df65d..e5d17b7 100644 --- a/gcc/c/c-decl.c +++ b/gcc/c/c-decl.c @@ -3932,7 +3932,7 @@ add_flexible_array_elts_to_size (tree decl, tree init) if (VEC_empty (constructor_elt, CONSTRUCTOR_ELTS (init))) return; - elt = VEC_last (constructor_elt, CONSTRUCTOR_ELTS (init))->value; + elt = VEC_last (constructor_elt, CONSTRUCTOR_ELTS (init)).value; type = TREE_TYPE (elt); if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == NULL_TREE |