testsuite: Make char4-subscript.f90 regex endian neutral.
authorDavid Edelsohn <dje.gcc@gmail.com>
Mon, 29 Jun 2020 18:42:13 +0000 (14:42 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Mon, 29 Jun 2020 20:14:35 +0000 (16:14 -0400)
commitd161c4b30ef8fbcf331b90feec74087bfabe0e71
treed98c1ebb192aa04dd4d3f82b22071ee90f0a54f4
parent4e06c4a3446687f1ba110ddfa16d40a253f7df51
testsuite: Make char4-subscript.f90 regex endian neutral.

The testcase tests for little endian results.  This patch updates the
regex to accept either endianness.

gcc/testsuite/ChangeLog

2020-06-29  David Edelsohn  <dje.gcc@gmail.com>

* gfortran.dg/char4-subscript.f90: Simplify regex.
Accept big endian or little endian output.
gcc/testsuite/gfortran.dg/char4-subscript.f90