[Bug fortran/59560] Resolution generic procedure of derived types fail

klaas_giesbertz at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 19 17:12:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59560

--- Comment #4 from klaas_giesbertz at hotmail dot com ---
In reply to Comment2&3 (Janus):

I have copied it back from my post and it still compiles with my gfortran4.7.3.
Could it have something to do with my build of gcc? I used macports to install
it on my machine, so I am not fully aware of the dependencies. Would be strange
though. Anyway, it is wrong fortran, so it should not work.

A 'select type' could make the distinction, so 'select type' works dynamically,
but the generic works statically. Confusing. So you would say that this kind of
functionality is out of reach for fortran2008? Do you have any idea for a
different solution? I know this is not the place to ask, but I would be
grateful for some help.



More information about the Gcc-bugs mailing list