This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52542] Procedure with a Bind (C) named interface does not inherit the Bind (C)
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 09:03:57 +0000
- Subject: [Bug fortran/52542] Procedure with a Bind (C) named interface does not inherit the Bind (C)
- Auto-submitted: auto-generated
- References: <bug-52542-4@http.gcc.gnu.org/bugzilla/>
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