diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2007-10-26 21:20:36 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-10-26 21:20:36 +0000 |
commit | bc4c8d897fcab7db06848835e6ba74e7a8aeee39 (patch) | |
tree | f9b2e20b323d317e0fc514cb3376e01f3cd35272 /gcc/tree-nested.c | |
parent | 91a77d68e72ba6e7597884fc10afd07a9700bb5a (diff) | |
download | gcc-bc4c8d897fcab7db06848835e6ba74e7a8aeee39.zip gcc-bc4c8d897fcab7db06848835e6ba74e7a8aeee39.tar.gz gcc-bc4c8d897fcab7db06848835e6ba74e7a8aeee39.tar.bz2 |
tree-nested.c (get_trampoline_type): Fix thinko.
* tree-nested.c (get_trampoline_type): Fix thinko.
From-SVN: r129661
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index 55eeb96..118f5fe 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -402,8 +402,8 @@ static GTY(()) tree trampoline_type; static tree get_trampoline_type (void) { - tree record, t; unsigned align, size; + tree t; if (trampoline_type) return trampoline_type; @@ -425,12 +425,12 @@ get_trampoline_type (void) DECL_ALIGN (t) = align; DECL_USER_ALIGN (t) = 1; - record = make_node (RECORD_TYPE); - TYPE_NAME (record) = get_identifier ("__builtin_trampoline"); - TYPE_FIELDS (record) = t; - layout_type (record); + trampoline_type = make_node (RECORD_TYPE); + TYPE_NAME (trampoline_type) = get_identifier ("__builtin_trampoline"); + TYPE_FIELDS (trampoline_type) = t; + layout_type (trampoline_type); - return record; + return trampoline_type; } /* Given DECL, a nested function, find or create a field in the non-local |