This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/53985] -Wno-c-binding-type still prints a warning
- 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: Tue, 17 Jul 2012 20:07:56 +0000
- Subject: [Bug fortran/53985] -Wno-c-binding-type still prints a warning
- Auto-submitted: auto-generated
- References: <bug-53985-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53985
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-07-17 20:07:56 UTC ---
Author: burnus
Date: Tue Jul 17 20:07:32 2012
New Revision: 189586
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189586
Log:
2012-07-17 Tobias Burnus <burnus@net-b.de>
PR fortran/53985
* decl.c (gfc_verify_c_interop_param): Make warning conditional
on -Wc-binding-type works and improve the wording.
2012-07-17 Tobias Burnus <burnus@net-b.de>
PR fortran/53985
* gfortran.dg/bind_c_usage_26.f90: New.
* gfortran.dg/bind_c_procs.f03: Add dg-options
* "-Wc-binding-type".
* gfortran.dg/bind_c_usage_13.f03: Ditto.
* gfortran.dg/bind_c_usage_18.f90: Ditto.
* gfortran.dg/interop_params.f03: Ditto.
Added:
trunk/gcc/testsuite/gfortran.dg/bind_c_usage_26.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/bind_c_procs.f03
trunk/gcc/testsuite/gfortran.dg/bind_c_usage_13.f03
trunk/gcc/testsuite/gfortran.dg/bind_c_usage_18.f90
trunk/gcc/testsuite/gfortran.dg/interop_params.f03