mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-25 01:11:10 +08:00
tree-nested.c (get_trampoline_type): Fix thinko.
* tree-nested.c (get_trampoline_type): Fix thinko. From-SVN: r129661
This commit is contained in:
parent
91a77d68e7
commit
bc4c8d897f
@ -1,3 +1,7 @@
|
||||
2007-10-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* tree-nested.c (get_trampoline_type): Fix thinko.
|
||||
|
||||
2007-10-26 Douglas Gregor <doug.gregor@gmail.com>
|
||||
|
||||
PR c++/33601
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user