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 if the polymorphic variable is unallocated
- 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 14:37:29 +0000
- Subject: [Bug fortran/47180] [OOP] EXTENDS_TYPE_OF returns the wrong result if the polymorphic variable is unallocated
- Auto-submitted: auto-generated
- References: <bug-47180-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47180
--- Comment #1 from janus at gcc dot gnu.org 2011-01-05 14:37:26 UTC ---
(In reply to comment #0)
> Found when looking at PR 41580.
>
> The following program should print 6 times "T" but it prints trice "F" followed
> by trice "T".
Actually it does print six time "T" for me!
Are you sure your trunk is up to date?
Note that r168505 is crucial here, which is the fix for PR47024 that I just
committed a few hours ago, and which fixes this very issue ...