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: [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


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