aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@gcc.gnu.org>2008-05-16 09:40:25 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2008-05-16 09:40:25 -0400
commit105f48aedd4222f499b663535684adddb5f2fcd8 (patch)
tree8fac1f9488dcceb28b676be8224e36a21cc6e264 /gcc/tree-nested.c
parent908ff6a3eba98c61f299483ba60011f7bec26e34 (diff)
downloadgcc-105f48aedd4222f499b663535684adddb5f2fcd8.zip
gcc-105f48aedd4222f499b663535684adddb5f2fcd8.tar.gz
gcc-105f48aedd4222f499b663535684adddb5f2fcd8.tar.bz2
[multiple changes]
2008-05-16 Nathan Froyd <froydnj@codesourcery.com> * doc/gty.texi (Source Files Containing Type Information): Note that headers should appear first in the gtfiles list. 2008-05-16 Kenneth Zadeck <zadeck@naturalbridge.com> * tree.def (COND_EXEC): Properly documented this code. 2008-05-16 Diego Novillo <dnovillo@google.com> * dwarf2asm.c (dw2_assemble_integer): Clarify comment. * tree-nested.c (get_trampoline_type): Set DECL_CONTEXT for the new field. From-SVN: r135420
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 8588e30..e333003 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;
}