aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-03-21 23:01:02 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-03-21 23:01:02 +0100
commit152d47df7f625885ae972386c759330cea6b169e (patch)
treedf1fa2daab768303053a87f6d65572c918d887e9 /gcc/builtins.c
parent36a3a7a3726c8b65eeceb6eb4a8946e0cd5650a9 (diff)
downloadgcc-152d47df7f625885ae972386c759330cea6b169e.zip
gcc-152d47df7f625885ae972386c759330cea6b169e.tar.gz
gcc-152d47df7f625885ae972386c759330cea6b169e.tar.bz2
re PR c++/89767 (ICE with tuple and optimization)
PR c++/89767 * parser.c (cp_parser_lambda_introducer): Add ids and first_capture_id variables, check for duplicates in this function. * lambda.c (add_capture): Don't check for duplicates nor use IDENTIFIER_MARKED. (register_capture_members): Don't clear IDENTIFIER_MARKED here. * g++.dg/cpp1y/lambda-init18.C: New test. * g++.dg/cpp1y/lambda-init19.C: New test. * g++.dg/cpp1y/pr89767.C: New test. From-SVN: r269860
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions