From 9c8b8ee9e59b0005d11f2d5612cd97f57f215c89 Mon Sep 17 00:00:00 2001 From: aph Date: Mon, 20 Feb 2006 16:16:34 +0000 Subject: [PATCH] 2006-02-15 Andrew Haley * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here. (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL, TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111306 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/class.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index baf89cb3693..3d811375a9a 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2006-02-15 Andrew Haley + + * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here. + (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL, + TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here. + 2006-02-09 Andrew Haley PR java/26192 diff --git a/gcc/java/class.c b/gcc/java/class.c index e3eed983345..743b9eba79e 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -375,7 +375,6 @@ do \ TREE_STATIC (TYPE_## TABLE ##_SYMS_DECL (TYPE)) = 1; \ TREE_CONSTANT (TYPE_## TABLE ##_SYMS_DECL (TYPE)) = 1; \ DECL_IGNORED_P (TYPE_## TABLE ##_SYMS_DECL (TYPE)) = 1; \ - pushdecl (TYPE_## TABLE ##_SYMS_DECL (TYPE)); \ } \ while (0) @@ -1821,6 +1820,7 @@ make_class_data (tree type) } else { + pushdecl_top_level (TYPE_OTABLE_SYMS_DECL (type)); PUSH_FIELD_VALUE (cons, "otable", build1 (ADDR_EXPR, otable_ptr_type, TYPE_OTABLE_DECL (type))); PUSH_FIELD_VALUE (cons, "otable_syms", @@ -1836,6 +1836,7 @@ make_class_data (tree type) } else { + pushdecl_top_level (TYPE_ATABLE_SYMS_DECL (type)); PUSH_FIELD_VALUE (cons, "atable", build1 (ADDR_EXPR, atable_ptr_type, TYPE_ATABLE_DECL (type))); PUSH_FIELD_VALUE (cons, "atable_syms", @@ -1851,6 +1852,7 @@ make_class_data (tree type) } else { + pushdecl_top_level (TYPE_ITABLE_SYMS_DECL (type)); PUSH_FIELD_VALUE (cons, "itable", build1 (ADDR_EXPR, itable_ptr_type, TYPE_ITABLE_DECL (type))); PUSH_FIELD_VALUE (cons, "itable_syms", -- 2.11.0