https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102045
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> --- Slightly more reduced: struct span { template<class T> constexpr span(T) { } }; struct byte_writer : span { }; void f(char *p) { byte_writer w{p}; } int main() { } Removing 'constexpr' makes the the link succeed