aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2023-09-22 12:10:11 +0100
committerJason Merrill <jason@redhat.com>2023-09-22 14:00:05 +0100
commit9c62af101e11e1cce573c2b3d2e18b403412dbc8 (patch)
tree40172974d61a22eb8b507eef7a71c9a2f78b95b9 /gcc/gcc.cc
parent4c496020764057453415f1ae599950724ec0e871 (diff)
downloadgcc-9c62af101e11e1cce573c2b3d2e18b403412dbc8.zip
gcc-9c62af101e11e1cce573c2b3d2e18b403412dbc8.tar.gz
gcc-9c62af101e11e1cce573c2b3d2e18b403412dbc8.tar.bz2
c++: unroll pragma in templates [PR111529]
We were failing to handle ANNOTATE_EXPR in tsubst_copy_and_build, leading to problems with substitution of any wrapped expressions. Let's also not tell users that lambda templates are available in C++14. PR c++/111529 gcc/cp/ChangeLog: * parser.cc (cp_parser_lambda_declarator_opt): Don't suggest -std=c++14 for lambda templates. * pt.cc (tsubst_expr): Move ANNOTATE_EXPR handling... (tsubst_copy_and_build): ...here. gcc/testsuite/ChangeLog: * g++.dg/ext/unroll-4.C: New test.
Diffstat (limited to 'gcc/gcc.cc')
0 files changed, 0 insertions, 0 deletions