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/47978] [OOP] Invalid INTENT in overriding TBP not detected


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

--- Comment #5 from janus at gcc dot gnu.org 2011-09-11 20:12:31 UTC ---
Author: janus
Date: Sun Sep 11 20:12:24 2011
New Revision: 178767

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

    PR fortran/35831
    PR fortran/47978
    * interface.c (check_dummy_characteristics): New function to check the
    characteristics of dummy arguments.
    (gfc_compare_interfaces,gfc_check_typebound_override): Call it here.


2011-09-11  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/35831
    PR fortran/47978
    * gfortran.dg/dynamic_dispatch_5.f03: Fix invalid test case.
    * gfortran.dg/proc_decl_26.f90: New.
    * gfortran.dg/typebound_override_2.f90: New.
    * gfortran.dg/typebound_proc_6.f03: Changed wording in error message.

Added:
    trunk/gcc/testsuite/gfortran.dg/proc_decl_26.f90
    trunk/gcc/testsuite/gfortran.dg/typebound_override_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/interface.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/dynamic_dispatch_5.f03
    trunk/gcc/testsuite/gfortran.dg/typebound_proc_6.f03


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