This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Problem with calling abstract class procedure from pointer
Hi Janus,
On Thursday, April 12, 2012 11:40:00 PM Janus Weil wrote:
> Hi Reuben,
>
> > I seem to hit a bug with gfortran when I have a pointer to an abstract
> > class, and try to call type-bound (deferred) procedure in that abstract
> > class.
> thanks for your bug report (yes, it is clearly a bug in gfortran). I
> get the same behavior with all gfortran versions I tried (4.6, 4.7 and
> trunk).
>
> Note, however, that it is not really special to abstract classes and
> deferred procedures, as the following reduced and modified test case
> shows (which gives the same error as your original code):
Ah I see, thanks for reducing it further. I didn't think of that. I filed a bug
report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52968
Best,
RDB