diff options
author | Mark Mitchell <mark@markmitchell.com> | 1998-10-25 23:10:09 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1998-10-25 23:10:09 +0000 |
commit | 224301c1b9108db2bfaf18875c4e072cfa7edef9 (patch) | |
tree | aa50926c9ad72dc86c503101bdd773cb5b91dbd6 /libiberty/cplus-dem.c | |
parent | 0b8054a77c8206c6032055aa2205e2eb37247108 (diff) | |
download | gcc-224301c1b9108db2bfaf18875c4e072cfa7edef9.zip gcc-224301c1b9108db2bfaf18875c4e072cfa7edef9.tar.gz gcc-224301c1b9108db2bfaf18875c4e072cfa7edef9.tar.bz2 |
cplus-dem.c (gnu_special): Fix handling of virtual tables in anonymous namespaces.
* cplus-dem.c (gnu_special): Fix handling of virtual tables in
anonymous namespaces.
From-SVN: r23324
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r-- | libiberty/cplus-dem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 4a4a129..d4718d7 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) |