------- Comment #20 from pault at gcc dot gnu dot org 2008-01-02 19:30 ------- (In reply to comment #19) > gfortran does inline most array intrinsics, but only if the result is a > scalar. > For most array intrinsics this isn't that much of a problem since usually one > uses the variant that returns a scalar, but MINLOC is different in that > usually > one wants to use the version that returns an array. If one implements this I > guess it would be straightforward to replicate the solution to many other > array > intrinsics as well. > Janne,
In contemplating what to do with gfortran in the New Year, I have been mulling over in-lining of array intrinsics; MATMUL is one distinctly possible one, as are MINLOC and MAXLOC. Cheers Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31067