summaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 22:41:28 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-10 22:41:28 +0000
commit3058a4cee34b0a419dac24f1615be6bc9a955dfc (patch)
tree4805f228224e0a15b60b8cd41d3f2fb2d382716f /libiberty/cp-demangle.c
parentaf28195df8e2cbaaa818301fac2e61a636875507 (diff)
downloadgcc-3058a4cee34b0a419dac24f1615be6bc9a955dfc.tar.gz
2010-09-10 James Lyon <jameslyon0@googlemail.com>
http://sourceware.org/bugzilla/show_bug.cgi?id=11572 * cp-demangle.c (d_find_pack): Add case for DEMANGLE_COMPONENT_LAMBDA. * testsuite/demangle-expected: Add regression test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index d2d15e9b91a..39c8cc0b310 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -3480,6 +3480,7 @@ d_find_pack (struct d_print_info *dpi,
case DEMANGLE_COMPONENT_PACK_EXPANSION:
return NULL;
+ case DEMANGLE_COMPONENT_LAMBDA:
case DEMANGLE_COMPONENT_NAME:
case DEMANGLE_COMPONENT_OPERATOR:
case DEMANGLE_COMPONENT_BUILTIN_TYPE: