http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50269
--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-04 07:37:01 UTC --- Author: burnus Date: Thu Apr 4 07:22:24 2013 New Revision: 197468 URL: http://gcc.gnu.org/viewcvs?rev=197468&root=gcc&view=rev Log: 2013-04-04 Tobias Burnus <bur...@net-b.de> PR fortran/50269 * gcc/fortran/check.c (is_c_interoperable, gfc_check_c_loc): Correct c_loc array checking for Fortran 2003 and Fortran 2008. 2013-04-04 Tobias Burnus <bur...@net-b.de> PR fortran/50269 * gfortran.dg/c_loc_test_21.f90: New. * gfortran.dg/c_loc_test_19.f90: Update dg-error. * gfortran.dg/c_loc_tests_10.f03: Update dg-error. * gfortran.dg/c_loc_tests_11.f03: Update dg-error. * gfortran.dg/c_loc_tests_4.f03: Update dg-error. * gfortran.dg/c_loc_tests_16.f90: Update dg-error. Added: trunk/gcc/testsuite/gfortran.dg/c_loc_test_21.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/check.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/c_loc_test_19.f90 trunk/gcc/testsuite/gfortran.dg/c_loc_tests_10.f03 trunk/gcc/testsuite/gfortran.dg/c_loc_tests_11.f03 trunk/gcc/testsuite/gfortran.dg/c_loc_tests_16.f90 trunk/gcc/testsuite/gfortran.dg/c_loc_tests_4.f03