This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [F03] EXTENDS_TYPE_OF, CLASS IS and libgfortran


Hi Janus,

Btw, I'm not aware of any compiler besides gfortran (fortran-dev
branch), which is able to handle the new test case
extends_type_of_1.f03 ...

First, congrats to all on all the OO goodness that is creeping into gfortran. I check on this list from time to time, and you seem to be making very good progress.


I'm all the more sorry to send an email just to contradict you. The IBM compiler handles this testcase just fine, but even more, it actually finds an error in it:

"a.f03", line 10.13: 1514-068 (E) Explicit type does not agree with type of INTRINSIC function. Type specification is ignored.

(though the test then runs fine). After looking at my F2008 draft, I think I concur with it: EXTENDS_TYPE_OF should return a default logical scalar, not an integer.



Regards, FX


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