aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/array.c')
-rw-r--r--gcc/fortran/array.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/array.c b/gcc/fortran/array.c
index cbeece4..427110b 100644
--- a/gcc/fortran/array.c
+++ b/gcc/fortran/array.c
@@ -1782,6 +1782,7 @@ expand_constructor (gfc_constructor_base base)
gfc_free_expr (e);
return false;
}
+ e->from_constructor = 1;
current_expand.offset = &c->offset;
current_expand.repeat = &c->repeat;
current_expand.component = c->n.component;