aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r--gcc/tree-sra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index 16f719e..21cf367 100644
--- a/gcc/tree-sra.c
+++ b/gcc/tree-sra.c
@@ -2832,8 +2832,9 @@ static bool
generate_element_init (struct sra_elt *elt, tree init, tree *list_p)
{
bool ret;
+ struct gimplify_ctx gctx;
- push_gimplify_context ();
+ push_gimplify_context (&gctx);
ret = generate_element_init_1 (elt, init, list_p);
pop_gimplify_context (NULL);