aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-01-17 18:22:34 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-01-17 18:22:34 +0000
commit8ddfdbc265cfe0da5b727559d3736876d0198afb (patch)
tree127551e9b5d51e1763e5a76af78e43a959b28a43 /gcc/go
parentf46fe37e86aa04522258dad374d0c7bf9c443ed3 (diff)
downloadgcc-8ddfdbc265cfe0da5b727559d3736876d0198afb.zip
gcc-8ddfdbc265cfe0da5b727559d3736876d0198afb.tar.gz
gcc-8ddfdbc265cfe0da5b727559d3736876d0198afb.tar.bz2
re PR c++/61636 (generic lambda: segfault / "cannot call member function without object")
PR c++/61636 * cp-tree.h (maybe_generic_this_capture): Declare. * lambda.c (resolvable_dummy_lambda): New, broken out of ... (maybe_resolve_dummy): ... here. Call it. (maybe_generic_this_capture): New. * parser.c (cp_parser_postfix_expression): Speculatively capture this in generic lambda in unresolved member function call. * pt.c (tsubst_copy_and_build): Force hard error from failed member function lookup in generic lambda. PR c++/61636 * g++.dg/cpp1y/pr61636-1.C: New. * g++.dg/cpp1y/pr61636-2.C: New. * g++.dg/cpp1y/pr61636-3.C: New. From-SVN: r244544
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions