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/48095] [OOP] Invalid assignment to procedure pointer component not rejected


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

--- Comment #4 from janus at gcc dot gnu.org 2011-03-29 09:39:13 UTC ---
Author: janus
Date: Tue Mar 29 09:39:10 2011
New Revision: 171654

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171654
Log:
2011-03-29  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/48095
    * decl.c (match_procedure_decl,match_ppc_decl): Set flavor of interface.
    * module.c (MOD_VERSION): Bump.
    (mio_typespec): Read/write 'interface' field.
    * primary.c (match_string_constant,match_logical_constant): Remove
    unneeded code.
    (match_complex_constant): Make sure to clear the typespec.

2011-03-29  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/48095
    * gfortran.dg/module_md5_1.f90: Modified MD5 sum.
    * gfortran.dg/proc_ptr_comp_32.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_comp_32.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/module.c
    trunk/gcc/fortran/primary.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/module_md5_1.f90


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