This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/77596] [F03] procedure pointer component with implicit interface can point to a function


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77596

--- Comment #4 from janus at gcc dot gnu.org ---
Author: janus
Date: Tue Nov  8 16:10:56 2016
New Revision: 241972

URL: https://gcc.gnu.org/viewcvs?rev=241972&root=gcc&view=rev
Log:
2016-11-08  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/77596
        * expr.c (gfc_check_pointer_assign): Add special check for procedure-
        pointer component with absent interface.

2016-11-08  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/77596
        * gfortran.dg/proc_ptr_comp_46.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_46.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]