[PATCH] PR fortran/78300 -- class procedure as actual arg

Janus Weil janus@gcc.gnu.org
Mon Nov 14 08:56:00 GMT 2016


Hi Steve,

> The attach patch allows a procedure with a class result to
> be an actual argument to subprogram where the dummy argument
> expected to be a class.  OK to commit?

that patch actually does not look quite right to me. Does it survive a regtest?

I think one should rather check why the class_ok attribute is not set
in the first place, any maybe apply a fix in gfc_build_class_symbol.

Cheers,
Janus



More information about the Fortran mailing list