aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/net/protocol/ftp
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2026-01-26 22:00:16 -0500
committerPatrick Palka <ppalka@redhat.com>2026-01-26 22:00:16 -0500
commit22f51c0f5e62a4e05bccbd0dfb23762ef2eeeff8 (patch)
tree01fb040fb080702c3171825e59ceb9c4d1cee8a9 /libjava/gnu/java/net/protocol/ftp
parent9cb5c879e722bb63d5ff5621cd77f402cb94a316 (diff)
downloadgcc-22f51c0f5e62a4e05bccbd0dfb23762ef2eeeff8.zip
gcc-22f51c0f5e62a4e05bccbd0dfb23762ef2eeeff8.tar.gz
gcc-22f51c0f5e62a4e05bccbd0dfb23762ef2eeeff8.tar.bz2
c++: non-dep decltype folding of concept-id C<Ts...> [PR123676]HEADtrunkmaster
Here since the expression within the decltype C<Ts...> is not instantiation dependent (we know its type is bool, and don't care about its value) finish_decltype_type instantiates it immediately via the usual tsubst_expr with NULL_TREE args. During which however tsubst_pack_expansion isn't prepared to handle such a substitution due to an overly strict assert. This patch relaxes the assert accordingly. PR c++/123676 gcc/cp/ChangeLog: * pt.cc (tsubst_pack_expansion): Relax unsubsituted_packs assert to allow !processing_template_decl when args is NULL_TREE. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/concepts-decltype5.C: New test. Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'libjava/gnu/java/net/protocol/ftp')
0 files changed, 0 insertions, 0 deletions