cp-demangle.c (d_print_init): Initialize pack_index field.
authorIan Lance Taylor <iant@google.com>
Tue, 26 Jul 2011 14:28:23 +0000 (14:28 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 26 Jul 2011 14:28:23 +0000 (14:28 +0000)
commitf2e6f32e600beadb5273bdd49cbe2e32b37b3408
tree9f86d2c5b414f5b66cf20d81c2c01016b551f038
parent9f61fd17476282a3c279b3b70c7cee1e12b265f5
cp-demangle.c (d_print_init): Initialize pack_index field.

* cp-demangle.c (d_print_init): Initialize pack_index field.
(d_print_comp): Check for NULL template argument.
* testsuite/demangle-expected: Add test case.

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