[PATCH] Fix fortran tests to not print out non-ascii characters
Steve Ellcey
sellcey@cavium.com
Fri Aug 25 18:16:00 GMT 2017
This is a minor patch for a minor problem, I will check it in as
obvious if no one objects.  While looking at another issue I found that
the gfortran.log file created by testing contains some non-ascii
characters, this bothered me and caused some problems when grepping for
things.  I tracked down the problem to these 3 tests that are printing
out 0 valued character variables.  The variables are supposed to be 0,
because that is what the test is checking for, so my fix is to print
out the ichar value of the character variable instead of the variable
itself.
Steve Ellcey
sellcey@cavium.com
2017-08-25  Steve Ellcey  <sellcey@cavium.com>
* gfortran.dg/dec_init_1.f90 (dummy): Use ichar in print statement.
* gfortran.dg/dec_init_2.f90 (dummy): Ditto.
* gfortran.dg/dec_init_3.f90 (dummy): Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-fortran-tests.patch
Type: text/x-patch
Size: 1880 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170825/22e86639/attachment.bin>
More information about the Fortran
mailing list