[Patch, Fortran] PR 38415: procedure pointer assignment to abstract interface
Janus Weil
jaydub66@googlemail.com
Fri Dec 5 20:39:00 GMT 2008
Hi all,
this is a very simple patch for a small accepts-invalid problem with
procedure pointers that was recently reported by Tobias (thanks for
finding this!). The patch is really trivial, and I'd say it's
reasonable to still include it in 4.4. But of course I'll leave that
decision to the reviewers. It's regtested on i686-pc-linux-gnu, and I
think one can be sure that it doesn't introduce any new regressions.
Ok for trunk/4.5?
Cheers,
Janus
2008-12-05 Janus Weil <janus@gcc.gnu.org>
PR fortran/38415
* expr.c (gfc_check_pointer_assign): Added a check for abstract
interfaces in procedure pointer assignments.
2008-12-05 Janus Weil <janus@gcc.gnu.org>
PR fortran/38415
* gfortran.dg/proc_ptr_2.f90: Extended.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr38415.diff
Type: text/x-patch
Size: 1510 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20081205/9dd5b94b/attachment.bin>
More information about the Fortran
mailing list