diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-03-05 05:25:54 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-03-05 05:30:30 -0800 |
commit | 4d66685e49d20e0c7a87c5fa0757c7eb63ffcdaa (patch) | |
tree | 410931856c16fb40085fe89081ec45dbcaeda938 /gcc/tree-cfg.c | |
parent | 331763de7d4850702a0f67298f36017c73cdb103 (diff) | |
download | gcc-4d66685e49d20e0c7a87c5fa0757c7eb63ffcdaa.zip gcc-4d66685e49d20e0c7a87c5fa0757c7eb63ffcdaa.tar.gz gcc-4d66685e49d20e0c7a87c5fa0757c7eb63ffcdaa.tar.bz2 |
c++: instantiating imported specializations [PR 99389]
When an incomplete class specialization is imported, and is completed
by instantiation, we were failing to mark the instantiation, and thus
didn't stream it out. Leading to errors in importing as we had
members of an incomplete type.
PR c++/99389
gcc/cp/
* pt.c (instantiate_class_template_1): Set instantiating module
here.
gcc/testsuite/
* g++.dg/modules/pr99389_a.H: New.
* g++.dg/modules/pr99389_b.C: New.
* g++.dg/modules/pr99389_c.C: New.
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions