summaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r--gcc/tree-nested.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c
index 8588e303d28..e3330032c03 100644
--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -433,6 +433,7 @@ get_trampoline_type (void)
TYPE_NAME (trampoline_type) = get_identifier ("__builtin_trampoline");
TYPE_FIELDS (trampoline_type) = t;
layout_type (trampoline_type);
+ DECL_CONTEXT (t) = trampoline_type;
return trampoline_type;
}