This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]