https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113599
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- FWIW, the inherit order is relevant, after applying this change we get the expected result: ... -struct thread_info : public dummy, public intrusive_list_node { +struct thread_info : public intrusive_list_node, public dummy { ... This could be used as workaround.