This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Problem with LOC intrinsic for assumed size arrays
On Wed, Jan 25, 2006 at 10:19:19AM -0800, Steve Kargl wrote:
> I estimated that we needed
> something like 168 functions. Sure, some or all of these
> functions could be autogenerated, but my request for help with
> m4 went unanswered.
I can help with the m4 part. M4 programming tends to be a lot of
trial and error, especially with the interesting quoting rules, but
it's quite doable.
>
> GFC_REAL4 *
> gfc_transfer_r4_r4(GFC_REAL4 *source, GFC_REAL4 *mold, GFC_INTEGER4 *size)
As I wrote in the earlier thread, we could get by with
gfc_transfer_4_4 (as we do for other intrinsics), plus versions for
character functions.
Thomas