aboutsummaryrefslogtreecommitdiff
path: root/gcc/json-parsing.h
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2025-03-07 11:26:46 -0500
committerMarek Polacek <polacek@redhat.com>2025-03-12 13:35:49 -0400
commit0e47062ce70d147091f1a97ec94bd6efad92bc5e (patch)
treea0977b15fa4b8bc464d43f003de70efd124dec07 /gcc/json-parsing.h
parent256060380c30e2d8ced63c2f04a0856d46b77343 (diff)
downloadgcc-0e47062ce70d147091f1a97ec94bd6efad92bc5e.zip
gcc-0e47062ce70d147091f1a97ec94bd6efad92bc5e.tar.gz
gcc-0e47062ce70d147091f1a97ec94bd6efad92bc5e.tar.bz2
c++: ICE with lambda in fold expression in requires [PR119134]
The r12-8258 fix assumes that DECL_CONTEXT of 'pack' in check_for_bare_parameter_packs is going to be an operator() but as this test shows, it can be empty. PR c++/119134 gcc/cp/ChangeLog: * pt.cc (check_for_bare_parameter_packs): Check DECL_CONTEXT. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/lambda-uneval24.C: New test. Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'gcc/json-parsing.h')
0 files changed, 0 insertions, 0 deletions