This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR28174 - actual args with substring refs and PR28167 - character array constructors
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Date: Fri, 30 Jun 2006 13:35:23 +0200 (CEST)
- Subject: Re: [Patch, fortran] PR28174 - actual args with substring refs and PR28167 - character array constructors
Paul,
In the test gcc/testsuite/gfortran.dg/actual_array_substr_2.f90,
are you that the line:
if (all (x(:)(3:7) .eq. y)) call abort ()
should not be rather
if (any (x(:)(3:7) .ne. y)) call abort ()
? The original test fails with xlf and g95, and I do not
see why x(:)(3:7) should not be equal to y.
TIA
Dominique