diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-03 04:00:36 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-03 04:00:36 +0000 |
commit | 9bd54051cbffdc60d117c76490298a6c5f42a87c (patch) | |
tree | c5e77d08efd7f3370d2e01b346b00712f1485d05 /libiberty/testsuite | |
parent | ddc92013347c0e83e2c439acc636cf67985768ab (diff) | |
download | gcc-9bd54051cbffdc60d117c76490298a6c5f42a87c.tar.gz |
2002-02-02 H.J. Lu (hjl@gnu.org)
* cp-demangle.c (cp_demangle_type): Do not protect with
IN_LIBGCC2.
(cplus_demangle_v3_all): New.
(cplus_demangle_v3): Call cplus_demangle_v3_all.
(cplus_demangle_v3_type): Call cplus_demangle_v3_all.
* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
Initialized to cplus_demangle_v3.
(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
of cplus_demangle_v3.
(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
command line symbol.
* testsuite/regress-demangle: Pass the mangled name at the
command line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49456 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/testsuite')
-rwxr-xr-x | libiberty/testsuite/regress-demangle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/testsuite/regress-demangle b/libiberty/testsuite/regress-demangle index 1086762dbb2..303dda54e0c 100755 --- a/libiberty/testsuite/regress-demangle +++ b/libiberty/testsuite/regress-demangle @@ -10,7 +10,7 @@ sed -e '/^#/ d' "$1" | ( read mangled read demangled - x="`echo $mangled | ./test-filter $type`" + x="`./test-filter $type $mangled`" count=`expr $count + 1` if test "x$x" != "x$demangled"; then failures=`expr $failures + 1` |