* cp-demangle.c (d_encoding): Exit early on error.
authorGeoffrey Keating <geoffk@geoffk.org>
Fri, 16 Mar 2007 01:09:26 +0000 (01:09 +0000)
committerGeoffrey Keating <geoffk@geoffk.org>
Fri, 16 Mar 2007 01:09:26 +0000 (01:09 +0000)
commit8d3010701b7ec0c8af9e2f118608d2ba0ba86ed4
tree94366e58cd28132a25ec431dba041e72271f68b7
parent27c1e22ef108eafcdb257123f9eb07c3f8ef524d
* cp-demangle.c (d_encoding): Exit early on error.
(d_pointer_to_member_type): Exit early if cplus_demangle_type
returns NULL.
(cplus_demangle_type): Likewise.
* testsuite/demangle-expected: New testcase.
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected