[Bug fortran/52542] Procedure with a Bind (C) named interface does not inherit the Bind (C)

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 12 09:04:00 GMT 2012


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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-03-12 09:03:57 UTC ---
Author: burnus
Date: Mon Mar 12 09:03:49 2012
New Revision: 185215

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185215
Log:
2012-03-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52542
        * decl.c (match_procedure_decl): If the interface
        is bind(C), the procedure is as well.

2012-03-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/52542
        * gfortran.dg/proc_ptr_35.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/proc_ptr_35.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list