https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64433
Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> --- Issue is access of the type of a COMPONENT_REF in finish_offsetof. For the template the COMPONENT_REF has NULL_TREE type. Actually it seems that we should check here for in-template case.