[Bug c++/109464] gcc does not instantiate constructor for explicitly instantiated template
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 15 13:48:51 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109464
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=113208
CC| |ppalka at gcc dot gnu.org
--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> ---
It seems this is fixed on trunk since r15-521-g6ad7ca1bb90573?
I see that trunk now emits the shallow() ctor:
shallow<char>::shallow() [base object constructor]:
mov DWORD PTR [rdi], 0
ret
use_shallow<char>::s_zstr:
.zero 4
More information about the Gcc-bugs
mailing list