summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-17 17:29:36 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-17 17:29:36 +0000
commitdf19f616ae199eb3879728ef68a3bbecf008f468 (patch)
tree036056e63bb69a0eb415d32e33d0e00a142c43de
parentc118a547034b5085683632916e061d4f73aca878 (diff)
downloadppe42-gcc-df19f616ae199eb3879728ef68a3bbecf008f468.tar.gz
ppe42-gcc-df19f616ae199eb3879728ef68a3bbecf008f468.zip
* dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
for the common case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30554 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c2
2 files changed, 6 insertions, 1 deletions
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 <jason@yorick.cygnus.com>
+
+ * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
+ for the common case.
+
1999-11-16 Jakub Jelinek <jakub@redhat.com>
* 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,
OpenPOWER on IntegriCloud