aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-03-05 05:25:54 -0800
committerNathan Sidwell <nathan@acm.org>2021-03-05 05:30:30 -0800
commit4d66685e49d20e0c7a87c5fa0757c7eb63ffcdaa (patch)
tree410931856c16fb40085fe89081ec45dbcaeda938 /gcc/tree-cfg.c
parent331763de7d4850702a0f67298f36017c73cdb103 (diff)
downloadgcc-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