fortran-experiments: patch for error checking
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Feb 2 21:03:00 GMT 2007
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
More information about the Fortran
mailing list