PR46328 - [OOP] type-bound operator call with non-trivial polymorphic operand - redux (1)
Tobias Burnus
burnus@net-b.de
Fri Dec 30 21:20:00 GMT 2011
Dear Paul,
Paul Richard Thomas wrote:
> As a result of the patch that I have just submitted, a fully
> elaborated version of Arjen's pde testcase now compiles and runs with
> gfortran. You will find it attached.
>
> My question to the list is; is the attached a suitable testcase for
> gfortran? It is long in comparison with many others but is a fairly
> sophisticated test of OOP features of fortran
I think it is OK. In particular, it compiles in (sub)seconds and also
runs in (sub)seconds.
(You need to clean up the modules and you should check the result values
instead of doing by default some I/O.)
> Note that the only other brand that I have access to, barfs on typebound_procedure_7.f03 and the attached.
None of the other compilers I have access to accept the program, either,
though if it is the example from comp.lang.fortran, it should run with
NAG and XLF and the expected output is also available for XLF at
comp.lang.fortran.
Tobias
More information about the Fortran
mailing list