summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-25 23:10:09 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-25 23:10:09 +0000
commit3662c79b8d32961cf65c249381258b11015758ef (patch)
treeaa50926c9ad72dc86c503101bdd773cb5b91dbd6 /libiberty
parente634dca3adc49f6347f8913facb7574e638fbd4b (diff)
downloadgcc-3662c79b8d32961cf65c249381258b11015758ef.tar.gz
* cplus-dem.c (gnu_special): Fix handling of virtual tables in
anonymous namespaces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog7
-rw-r--r--libiberty/cplus-dem.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index ba44da35edf..653882818d6 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-25 Mark Mitchell <mark@markmitchell.com>
+
+ * cplus-dem.c (gnu_special): Fix handling of virtual tables in
+ anonymous namespaces.
+
1998-10-23 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (work_stuff): Replace const_type and volatile_type
@@ -14,7 +19,7 @@
(demangle_template_value_parm): Likewise.
(do_type): Likewise.
(demangle_fund_type)): Likewise.
-
+
Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* splay-tree.c (splay_tree_foreach_helper): Make definition static
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 4a4a12965e5..d4718d780a2 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -2097,7 +2097,6 @@ gnu_special (work, mangled, declp)
(*mangled) += 4; /* Old style, no thunks: "_vt<CPLUS_MARKER>" */
while (**mangled != '\0')
{
- p = strpbrk (*mangled, cplus_markers);
switch (**mangled)
{
case 'Q':
@@ -2130,6 +2129,7 @@ gnu_special (work, mangled, declp)
(*mangled) += n;
}
+ p = strpbrk (*mangled, cplus_markers);
if (success && ((p == NULL) || (p == *mangled)))
{
if (p != NULL)