[Patch, fortran] PR30081 - Failure to overload non-generic intrinsics
Paul Thomas
paulthomas2@wanadoo.fr
Sat Dec 16 01:24:00 GMT 2006
:ADDPATCH fortran:
This problem seemed very mysterious, at first, but turns out to be
rather simple. If resolve_generic_f/s fail to find a module procedure
whos interface matches the actual, they turn to intrinsics to see if a
match can be found. This was done by searching amongst the generic
intrinsics. However, this is unnecessarily restrictive since the
standard permits non-generic intrinsics to be overloaded. The fix was
implemented by substituting gfc_generic intrinsic by
gfc_intrinsic_name. The testcase is the contributors.
Regtested on Cygwin_NT/amd64 - OK for trunk and 4.2?
Paul
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Change.Logs
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061216/242c5953/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr30081.diff
Type: text/x-patch
Size: 2663 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061216/242c5953/attachment.bin>
More information about the Fortran
mailing list