[Patch, fortran] PR48946 - Deferred Overloaded Assignment
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Jan 3 20:30:00 GMT 2012
Dear All,
This is a straightforward patch that adds a last ditch attempt to find
a specific typebound procedure when all that has been found for a
derived type base object is 'deferred'. typebound_operator_7.f03 has
been extended to test derived type as well as class base objects.
Bootstrapped and regtested on x86_64/FC9 - OK for trunk?
Paul
2012-01-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/PR48946
* resolve.c (resolve_typebound_static): If the typebound
procedure is 'deferred' have a go at finding the right specific
procedure in the derived type operator space itself.
2012-01-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/PR48946
* gfortran.dg/typebound_operator_7.f03: Add test for derived
type typebound operators as well as class bound operators.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit0301.diff
Type: text/x-patch
Size: 3338 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120103/23ff70cc/attachment.bin>
More information about the Gcc-patches
mailing list