diff options
author | Jason Merrill <jason@redhat.com> | 2022-03-26 20:38:54 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-03-28 09:35:58 -0400 |
commit | 72bdfcb848327020f62f72405d72cf85650666e1 (patch) | |
tree | 3b9160419fec1da6e98049581f2e546a651430d3 /gcc/cp/constraint.cc | |
parent | 71e1db540c01a13b01fae054c92878a79252b471 (diff) | |
download | gcc-72bdfcb848327020f62f72405d72cf85650666e1.zip gcc-72bdfcb848327020f62f72405d72cf85650666e1.tar.gz gcc-72bdfcb848327020f62f72405d72cf85650666e1.tar.bz2 |
c++: missing aggregate base ctor [PR102045]
When make_base_init_ok changes a call to a complete constructor into a call
to a base constructor, we were never marking the base ctor as used, so it
didn't get emitted.
PR c++/102045
gcc/cp/ChangeLog:
* call.cc (make_base_init_ok): Call make_used.
gcc/testsuite/ChangeLog:
* g++.dg/cpp1z/aggr-base12.C: New test.
Diffstat (limited to 'gcc/cp/constraint.cc')
0 files changed, 0 insertions, 0 deletions