aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dse.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2021-04-04 01:01:56 -0400
committerJason Merrill <jason@redhat.com>2021-04-05 08:25:52 -0400
commita99a7b0afe9a1f6f866e25b8572856ae8c1d3f8d (patch)
tree044996edc2f599e93137ab1cfce6d4d4c14e01c2 /gcc/tree-ssa-dse.c
parenta44a753a35542f86e82e198595ce3553f6d718f6 (diff)
downloadgcc-a99a7b0afe9a1f6f866e25b8572856ae8c1d3f8d.zip
gcc-a99a7b0afe9a1f6f866e25b8572856ae8c1d3f8d.tar.gz
gcc-a99a7b0afe9a1f6f866e25b8572856ae8c1d3f8d.tar.bz2
c++: constexpr if and nested generic lambda [PR99201]
When building up *_EXTRA_ARGS for a constexpr if or pack expansion, we need to walk into the body of a lambda to find all the local_specializations that we need to remember, like we do in find_parameter_packs_r. gcc/cp/ChangeLog: PR c++/99201 * pt.c (class el_data): Add visited field. (extract_local_specs): Pass it to cp_walk_tree. (extract_locals_r): Walk into the body of a lambda. gcc/testsuite/ChangeLog: PR c++/99201 * g++.dg/cpp1z/constexpr-if-lambda4.C: New test.
Diffstat (limited to 'gcc/tree-ssa-dse.c')
0 files changed, 0 insertions, 0 deletions