This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fortran-experiments: patch for more error checking


Steve,

i'm not sure what could be doing this. i'm not seeing these errors when i run the testsuite (except for c_kind_params, of course). do you have any ideas? c_kind_params is failing, but that's been failing for a while and is unrelated to this patch.

thanks.
Chris

On Tue, 23 Jan 2007, Steve Kargl wrote:

On Sun, Jan 21, 2007 at 09:02:43PM -0700, Christopher D. Rickett wrote:

2007-01-21 Christoper D. Rickett <crickett@lanl.gov> * gcc/fortran/symbol.c: Removed javadoc style comment blocks and converted to GNU style. Also, put the function type and name on separate lines. Removed commented out return in verify_bind_c_derived_type. * gcc/fortran/decl.c: Converted javadoc to GNU style for functions and put the function return type and name on separate lines. * gcc/fortran/trans-types.c: Ditto on commenting style. * gcc/fortran/resolve.c: Ditto on commenting style. Also, combined two if statements in gfc_iso_c_sub_interface. * gcc/fortran/match.c: Ditto on commenting style. * gcc/fortran/trans-decl.c: Ditto on commenting style. * gcc/fortran/misc.c: Ditto on commenting style.


I applied this patch and new testsuite failures from the new test programs. I've extracted info from the gfortran.log. The first two are the new failures. The third has been failing since the fortran-experiments branch was created.

FAIL: gfortran.dg/bind_c_usage_3.f03  -O  (test for excess errors)
Excess errors:
gcc/testsuite/gfortran.dg/bind_c_usage_3.f03:18:
Error: Global name 'test' at (1) is already being used as a MODULE at (2)
gcc/iso_c_binding/gcc/testsuite/gfortran.dg/bind_c_usage_3.f03:2:
Error: Global name 'test' at (1) is already being used as a MODULE at (2)


FAIL: gfortran.dg/c_ptr_tests_5.f03 -O (test for excess errors) Excess errors: gcc/iso_c_binding/gcc/testsuite/gfortran.dg/c_ptr_tests_5.f03:18: Error: Global name 'c_ptr_tests_5' at (1) is already being used as a MODULE at (2) gcc/iso_c_binding/gcc/testsuite/gfortran.dg/c_ptr_tests_5.f03:2: Error: Global name 'c_ptr_tests_5' at (1) is already being used as a MODULE at (2)



FAIL: gfortran.dg/c_kind_params.f90  -O0  (test for excess errors)
Excess errors:
gcc/iso_c_binding/gcc/testsuite/gfortran.dg/c_kind_params.f90:22:
Error: Kind -2 not supported for type INTEGER at (1)

integer(c_int_fast16_t), value :: my_int_fast16_t



--
Steve



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]