diff options
author | Marek Polacek <polacek@redhat.com> | 2024-06-14 17:50:29 -0400 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2024-06-25 15:11:30 -0400 |
commit | ed6ffc4e62f716d1b31d599d22594dd969da137f (patch) | |
tree | b8e6ddccdb124966efc08d5846d79e05ca0dbcc0 /gcc/dwarf2codeview.h | |
parent | 71f484d02b2b3e8616cd7af27a0d4c72e4c7e977 (diff) | |
download | gcc-ed6ffc4e62f716d1b31d599d22594dd969da137f.zip gcc-ed6ffc4e62f716d1b31d599d22594dd969da137f.tar.gz gcc-ed6ffc4e62f716d1b31d599d22594dd969da137f.tar.bz2 |
c++: ICE with generic lambda and pack expansion [PR115425]
In r13-272 we hardened the *_PACK_EXPANSION and *_ARGUMENT_PACK macros.
That trips up here because make_pack_expansion returns error_mark_node
and we access that with PACK_EXPANSION_LOCAL_P.
PR c++/115425
gcc/cp/ChangeLog:
* pt.cc (tsubst_pack_expansion): Return error_mark_node if
make_pack_expansion doesn't work out.
gcc/testsuite/ChangeLog:
* g++.dg/cpp2a/lambda-generic12.C: New test.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions