[Patch, Fortran] PR fortran/37588: GENERIC resolution broken for array arguments
Daniel Kraft
d@domob.eu
Mon Sep 22 19:25:00 GMT 2008
Hi,
this fixes PR fortran/37588 by adding a missing call to resolve the
actual arglist before comparing it against the formal ones of the
specific procedures in finding a matching one for generic type-bound
procedures.
Because this was missing, all expressions did have their expr->rank set
to 0 before and this caused the problem in the PR that GENERIC
type-bound procedures with array arguments would never be resolved to
the correct specific ones.
Currently regression testing on GNU/Linux-x86-32. Ok to commit (for
trunk only, of course) if no regressions?
Daniel
--
Done: Arc-Bar-Cav-Sam-Val-Wiz, Dwa-Elf-Gno-Hum-Orc, Law-Neu-Cha, Fem-Mal
To go: Hea-Kni-Mon-Pri-Ran-Rog-Tou
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.changelog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080922/730da925/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080922/730da925/attachment-0001.ksh>
More information about the Fortran
mailing list