[Bug fortran/42385] [OOP] poylmorphic operators do not work
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 13 09:18:00 GMT 2010
------- Comment #4 from burnus at gcc dot gnu dot org 2010-07-13 09:17 -------
Carry on the test case from PR 43945 comment 19 (cf. also PR 43945 comment 30,
31, 32):
Salvatore wrote:
> Yup, but after discussion with Janus, it seems the failing part is not
> dynamic dispatching, but compile-time resolution. Accordingly, I have
> appended the test case to PR 42385.
As the test case in comment 3 (attachment 21184) is different from the one of
PR 43945 comment 19, I add the latter as well:
Attachment 20927 compiles with both crayftn and gfortran, but the run-time
result is different; while crayftn has
Allocated COO succesfully, should now set components
STOP
with gfortran the result is
Error: Missing ovverriding impl for allocate in class COO
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42385
More information about the Gcc-bugs
mailing list