aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2023-11-23 23:15:19 +1100
committerNathaniel Shead <nathanieloshead@gmail.com>2023-12-11 13:33:52 +1100
commitab3daffcbf35566d468c3028e48068a481048baf (patch)
tree7bc012ce007743883f64b5909512b00ef64022d8 /config
parent2c2df123de432356d28ee7e8a9627dc9e80a399d (diff)
downloadgcc-ab3daffcbf35566d468c3028e48068a481048baf.zip
gcc-ab3daffcbf35566d468c3028e48068a481048baf.tar.gz
gcc-ab3daffcbf35566d468c3028e48068a481048baf.tar.bz2
c++: Clear uninstantiated template friend when instantiating [PR104234]
Otherwise attempting to get the originating module declaration ICEs because the DECL_CHAIN of an instantiated friend template is no longer its context. PR c++/104234 PR c++/112580 gcc/cp/ChangeLog: * pt.cc (tsubst_template_decl): Clear DECL_UNINSTANTIATED_TEMPLATE_FRIEND_P. gcc/testsuite/ChangeLog: * g++.dg/modules/pr104234.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions