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/54387] [F03] Wrongly accepts non-proc result variable on the RHS of a proc-pointer assignment


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54387

--- Comment #3 from janus at gcc dot gnu.org 2012-09-16 20:12:30 UTC ---
Author: janus
Date: Sun Sep 16 20:12:21 2012
New Revision: 191364

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191364
Log:
2012-09-16  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/54387
    * expr.c (gfc_check_pointer_assign): Check for result of embracing
    function.

2012-09-16  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/54387
    * gfortran.dg/proc_ptr_38.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_38.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]