[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 26 13:06:00 GMT 2015


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.thomas@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.



More information about the Gcc-bugs mailing list