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/47180] [OOP] EXTENDS_TYPE_OF returns the wrong result if the polymorphic variable is unallocated


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


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