aboutsummaryrefslogtreecommitdiff
path: root/libiberty/ChangeLog
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2016-12-12 12:52:37 -0500
committerNathan Sidwell <nathan@acm.org>2016-12-12 12:52:37 -0500
commit88acc2e16743fc1e6384758c9a68cd6d2a8bbd46 (patch)
treee144ee82168a30bb3e355a038ccd3fffc0e0f803 /libiberty/ChangeLog
parentd36cab83a963f5bb3773e0218cc02f63b0851d0b (diff)
downloadgdb-88acc2e16743fc1e6384758c9a68cd6d2a8bbd46.zip
gdb-88acc2e16743fc1e6384758c9a68cd6d2a8bbd46.tar.gz
gdb-88acc2e16743fc1e6384758c9a68cd6d2a8bbd46.tar.bz2
Port c++/78252 from GCC
PR c++/78252 * cp-demangle.c (struct d_print_info): Add is_lambda_arg field. (d_print_init): Initialize it. (d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check is_lambda_arg for auto. <DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when is_lambda_arg. <DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg printing. * testsuite/demangle-expected: Add lambda auto mangling cases.
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r--libiberty/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index f478109..33ad3c7 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,17 @@
+2016-12-12 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/78252
+ * cp-demangle.c (struct d_print_info): Add is_lambda_arg field.
+ (d_print_init): Initialize it.
+ (d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check
+ is_lambda_arg for auto.
+ <DEMANGLE_COMPONENT_REFERENCE,
+ DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when
+ is_lambda_arg.
+ <DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg
+ printing.
+ * testsuite/demangle-expected: Add lambda auto mangling cases.
+
2016-12-08 Alan Modra <amodra@gmail.com>
* configure: Regenerate.