From 1118bb2888bb2f874a0a619daf03bf725fc42241 Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 12 Sep 2005 07:38:33 +0000 Subject: [PATCH] * objcp-lang.c (objcxx_init_ts): Remove ALIAS_DECL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104165 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/objcp/ChangeLog | 4 ++++ gcc/objcp/objcp-lang.c | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index 7c60268..061011e 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,7 @@ +2005-09-11 Richard Henderson + + * objcp-lang.c (objcxx_init_ts): Remove ALIAS_DECL. + 2005-07-09 Andrew Pinski * config-lang.in (gtfiles): Add cp-objcp-common.c. diff --git a/gcc/objcp/objcp-lang.c b/gcc/objcp/objcp-lang.c index 2e50bde..3508185 100644 --- a/gcc/objcp/objcp-lang.c +++ b/gcc/objcp/objcp-lang.c @@ -165,28 +165,23 @@ objcxx_init_ts (void) tree_contains_struct[NAMESPACE_DECL][TS_DECL_NON_COMMON] = 1; tree_contains_struct[USING_DECL][TS_DECL_NON_COMMON] = 1; tree_contains_struct[TEMPLATE_DECL][TS_DECL_NON_COMMON] = 1; - tree_contains_struct[ALIAS_DECL][TS_DECL_NON_COMMON] = 1; tree_contains_struct[NAMESPACE_DECL][TS_DECL_WITH_VIS] = 1; tree_contains_struct[USING_DECL][TS_DECL_WITH_VIS] = 1; tree_contains_struct[TEMPLATE_DECL][TS_DECL_WITH_VIS] = 1; - tree_contains_struct[ALIAS_DECL][TS_DECL_WITH_VIS] = 1; tree_contains_struct[NAMESPACE_DECL][TS_DECL_WRTL] = 1; tree_contains_struct[USING_DECL][TS_DECL_WRTL] = 1; tree_contains_struct[TEMPLATE_DECL][TS_DECL_WRTL] = 1; - tree_contains_struct[ALIAS_DECL][TS_DECL_WRTL] = 1; tree_contains_struct[NAMESPACE_DECL][TS_DECL_COMMON] = 1; tree_contains_struct[USING_DECL][TS_DECL_COMMON] = 1; tree_contains_struct[TEMPLATE_DECL][TS_DECL_COMMON] = 1; - tree_contains_struct[ALIAS_DECL][TS_DECL_COMMON] = 1; tree_contains_struct[NAMESPACE_DECL][TS_DECL_MINIMAL] = 1; tree_contains_struct[USING_DECL][TS_DECL_MINIMAL] = 1; tree_contains_struct[TEMPLATE_DECL][TS_DECL_MINIMAL] = 1; - tree_contains_struct[ALIAS_DECL][TS_DECL_MINIMAL] = 1; - + init_shadowed_var_for_decl (); } -- 2.7.4