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/38152] [4.4 Regression] procedure pointers as module variables



------- Comment #10 from janus at gcc dot gnu dot org  2009-01-16 12:04 -------
Subject: Bug 38152

Author: janus
Date: Fri Jan 16 12:03:51 2009
New Revision: 143430

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

        PR fortran/38152
        * expr.c (gfc_check_pointer_assign): Allow use-associated procedure
        pointers as lvalue.
        * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable):
        Enable procedure pointers as module variables.


2009-01-16  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/38152
        * gfortran.dg/proc_ptr_13.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_13.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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