https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94939
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2020-05-04 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I would guess the type_safe libraries doing for type_safe::get(static_cast<const Strongtypedef&>(*this)) is "wrong" (whatever type_safe is guaranteeing). Please provide a complete preprocessed testcase that can be compiled.