https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62044
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #8 from Mikael Morin <mikael at gcc dot gnu.org> --- (In reply to paul.richard.tho...@gmail.com from comment #6) > > I think that it should be reopened as a placeholder. Alright, let's reopen for the sake of the discussion > I suspect that removing > the inheritance information is not the right way to go. > I should have explained better. I removed code that was touching some_derived_type_symbol->f2k_derived->sym_root, which was never used. The inheritance information is still present, through the type of the first component of an extended type. I don't think it is related to the patch I committed, because 4.9 also gives the wrong result.