This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [4.3/4.4 Regression] Wrong locus for errors in DATA statement
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Date: Sun, 22 Jun 2008 15:02:44 +0200
- Subject: Re: [4.3/4.4 Regression] Wrong locus for errors in DATA statement
Another minor point, the test case gives:
/opt/gcc/gcc-4.4-work/gcc/testsuite/gfortran.dg/data_array_5.f90:13.8:
data i / myint(3), myint(2) / ! { dg-error "Incompatible types in DATA" }
1
Error: Incompatible types in DATA statement at (1); attempted conversion of INTEGER(4) to CHARACTER(1)
/opt/gcc/gcc-4.4-work/gcc/testsuite/gfortran.dg/data_array_5.f90:12.8:
data c / mychar(1), mychar(3) / ! { dg-error "Incompatible types in DATA" }
1
Error: Incompatible types in DATA statement at (1); attempted conversion of CHARACTER(1) to INTEGER(4)
should not CHARACTER be respectively 4 and 3?
Dominique