aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2011-07-26 14:28:23 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-07-26 14:28:23 +0000
commitf2e6f32e600beadb5273bdd49cbe2e32b37b3408 (patch)
tree9f86d2c5b414f5b66cf20d81c2c01016b551f038 /libiberty/testsuite
parent9f61fd17476282a3c279b3b70c7cee1e12b265f5 (diff)
downloadgcc-f2e6f32e600beadb5273bdd49cbe2e32b37b3408.zip
gcc-f2e6f32e600beadb5273bdd49cbe2e32b37b3408.tar.gz
gcc-f2e6f32e600beadb5273bdd49cbe2e32b37b3408.tar.bz2
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
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/demangle-expected6
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected
index 2dc74be..d3e7099 100644
--- a/libiberty/testsuite/demangle-expected
+++ b/libiberty/testsuite/demangle-expected
@@ -4010,6 +4010,12 @@ K<1, &S::m>::f()
_ZN1KILi1EXadL_ZN1S1mEEEE1fEv
K<1, &S::m>::f()
#
+# Used to crash -- binutils PR 13030.
+--format=gnu-v3
+_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_
+_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_
+_ZSt10_ConstructI10CellBorderIS0_EEvPT_DpOT0_
+#
# Ada (GNAT) tests.
#
# Simple test.