cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'.
authorBen L <bobsayshilol@live.co.uk>
Tue, 30 Apr 2019 14:22:41 +0000 (14:22 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 30 Apr 2019 14:22:41 +0000 (08:22 -0600)
commit80024f3180b9c4c904cd65323e1d1333cf19d1fe
treea315c6b8b02c4fb989e8fefed7e4b5ff6d0bdaff
parent927e42fd52ed7dee859ac85fec9dd6830d769773
cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'.

    * cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'.
    * testsuite/demangle-expected: Add testcase.

From-SVN: r270695
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected