This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47180] [OOP] EXTENDS_TYPE_OF returns the wrong result for disassociated polymorphic pointers
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 5 Jan 2011 18:55:59 +0000
- Subject: [Bug fortran/47180] [OOP] EXTENDS_TYPE_OF returns the wrong result for disassociated polymorphic pointers
- Auto-submitted: auto-generated
- References: <bug-47180-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47180
--- Comment #10 from janus at gcc dot gnu.org 2011-01-05 18:55:59 UTC ---
(In reply to comment #8)
> REOPEN: Causes build issues (cf. comment 7).
Thanks for noticing, and sorry for the breakage.
> Simple solution:
>
> - gfc_symbol *vtab;
> + gfc_symbol *vtab = NULL;
Yes, I'll commit shortly.