http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45777
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org --- Comment #8 from Mikael Morin <mikael at gcc dot gnu.org> 2010-12-30 14:56:27 UTC --- (In reply to comment #7) > I think we should be doing the checking against the > typespec of the component. The component looks reasonable: > [...] > > but the sym just has > [...] According to how it is used, it seems that u.c.sym is the component's derived type. And the dump you show doesn't contradict that (name="t1", empty type specification, ...). What's wrong ?