From: Jason Merrill Date: Wed, 17 Nov 1999 17:29:36 +0000 (+0000) Subject: dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1 for the common case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75e3fbdfe8b214be61c7f987fbb264d033b4aca7;p=gcc.git dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1 for the common case. * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1 for the common case. From-SVN: r30554 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b03966b282a..f6f11ed2291 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1999-11-17 Jason Merrill + + * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1 + for the common case. + 1999-11-16 Jakub Jelinek * explow.c (hard_function_value): Add outgoing argument. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 3dcdc15739e..160b801061a 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -7550,7 +7550,7 @@ push_decl_scope (scope) || containing_scope == NULL_TREE /* Ignore namespaces for the moment. */ || TREE_CODE (containing_scope) == NAMESPACE_DECL) - decl_scope_table[decl_scope_depth].previous = -1; + decl_scope_table[decl_scope_depth].previous = decl_scope_depth - 1; else { /* We need to search for the containing_scope. If we don't find it,