This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: fortran-experiments: patch for error checking
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: "Christopher D. Rickett" <crickett at lanl dot gov>
- Cc: fortran at gcc dot gnu dot org
- Date: Fri, 2 Feb 2007 13:02:34 -0800
- Subject: Re: fortran-experiments: patch for error checking
- References: <Pine.LNX.4.64.0701251409020.6578@lennox.lanl.gov>
On Thu, Jan 25, 2007 at 05:03:53PM -0700, Christopher D. Rickett wrote:
> also, my name is misspelled in ChangeLog.isocbinding for my first entry on
> 2007-01-24.
Whoops. That's probably my fault.
>
> 2007-01-25 Christopher D. Rickett <crickett@lanl.gov>
> * gcc/testsuite/gfortran.dg/c_kind_tests_2.f03: New test case for
> verifying C interoperable kinds for BIND(C) variables.
> * gcc/testsuite/gfortran.dg/interop_params.f03: New test case for
> verifying C interoperable kinds for dummy args to BIND(C)
> routines.
> * gcc/fortran/symbol.c: Modified call to verify_c_interop in
> verify_bind_c_derived_type to give args for component name and
> location.
> * gcc/fortran/decl.c: Modified calls to verify_c_interop to give
> args for symbol name and location. Slightly changed a couple
> warning messages. Removed validation of C kind from
> gfc_match_kind_spec. Added validation of C kind to
> verify_c_interop. Removed the verification of C interoperability
> in
> build_sym since it is done in variable_decl. Modified checks on
> BIND(C) derived types to include errors for the definition and any
> variable declared with it.
> * gcc/fortran/gfortran.h: Changed the prototype for
> verify_c_interop to take args for the symbol/component name and
> location. These are used for an error message if the validation
> of the C kind fails.
Committed to the branch.
Thanks.
--
Steve