This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Jan 2015 13:06:30 +0000
- Subject: [Bug fortran/62044] [4.8/4.9 Regression] ICE in USE statement with RENAME for extended derived type
- Auto-submitted: auto-generated
- References: <bug-62044-4 at http dot gcc dot gnu dot org/bugzilla/>
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.