aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1999-11-17 17:29:36 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-11-17 12:29:36 -0500
commit75e3fbdfe8b214be61c7f987fbb264d033b4aca7 (patch)
tree036056e63bb69a0eb415d32e33d0e00a142c43de /gcc/dwarf2out.c
parentfcd56b611da0dae37bba49c1b9dadd2263553889 (diff)
downloadgcc-75e3fbdfe8b214be61c7f987fbb264d033b4aca7.zip
gcc-75e3fbdfe8b214be61c7f987fbb264d033b4aca7.tar.gz
gcc-75e3fbdfe8b214be61c7f987fbb264d033b4aca7.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 3dcdc15..160b801 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,