This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: C_FUNLOC on procedure pointer component
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: John McFarland <john dot mcfarland at swri dot org>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Sat, 27 Apr 2013 10:00:18 +0200
- Subject: Re: C_FUNLOC on procedure pointer component
- References: <517B08E3 dot 4030800 at swri dot org>
Hi John,
> As of gfortran 4.7.2, the compiler trips up when calling C_FUNLOC on a
> derived type component (see attached example). I get an incorrect error
> that the argument must be a procedure. Is this a known issue?
since your test case works with current trunk, I'd say yes :)
I think it has been fixed by this commit:
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=197053
Cheers,
Janus