From: Steve Ellcey Date: Mon, 28 Aug 2017 16:55:46 +0000 (+0000) Subject: dec_init_1.f90 (dummy): Use ichar in print statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac9a43e165b5cb6cd505955d58cb3d6aadbf6dcd;p=gcc.git dec_init_1.f90 (dummy): Use ichar in print statement. 2017-08-25 Steve Ellcey * 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. From-SVN: r251389 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2b5204ee26a..01b801feba1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-08-28 Steve Ellcey + + * 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. + 2017-08-28 Richard Biener PR tree-optimization/81977 diff --git a/gcc/testsuite/gfortran.dg/dec_init_1.f90 b/gcc/testsuite/gfortran.dg/dec_init_1.f90 index 03ada9c1022..5e1956aed73 100644 --- a/gcc/testsuite/gfortran.dg/dec_init_1.f90 +++ b/gcc/testsuite/gfortran.dg/dec_init_1.f90 @@ -14,7 +14,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2) real, intent(inout) :: r2 character, intent(inout) :: c2 logical, intent(inout) :: l2 - print *, i1, i2, l1, l2, c1, c2, r1, r2 + print *, i1, i2, l1, l2, ichar(c1), ichar(c2), r1, r2 if ( i1 .ne. 0 .or. i2 .ne. 0 ) call abort() if ( l1 .or. l2 ) call abort() if ( c1 .ne. achar(0) .or. c2 .ne. achar(0) ) call abort() diff --git a/gcc/testsuite/gfortran.dg/dec_init_2.f90 b/gcc/testsuite/gfortran.dg/dec_init_2.f90 index 41deac90413..eae55492adf 100644 --- a/gcc/testsuite/gfortran.dg/dec_init_2.f90 +++ b/gcc/testsuite/gfortran.dg/dec_init_2.f90 @@ -15,7 +15,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2) real, intent(inout) :: r2 character, intent(inout) :: c2 logical, intent(inout) :: l2 - print *, i1, i2, l1, l2, c1, c2, r1, r2 + print *, i1, i2, l1, l2, ichar(c1), ichar(c2), r1, r2 if ( i1 .ne. 42 .or. i2 .ne. 42 ) call abort() if ( (.not. l1) .or. (.not. l2) ) call abort() if ( c1 .ne. achar(32) .or. c2 .ne. achar(32) ) call abort() diff --git a/gcc/testsuite/gfortran.dg/dec_init_3.f90 b/gcc/testsuite/gfortran.dg/dec_init_3.f90 index 6c1161a4903..253cd9b2fa2 100644 --- a/gcc/testsuite/gfortran.dg/dec_init_3.f90 +++ b/gcc/testsuite/gfortran.dg/dec_init_3.f90 @@ -14,7 +14,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2) real, intent(inout) :: r2 character, intent(inout) :: c2 logical, intent(inout) :: l2 - print *, i1, i2, l1, l2, c1, c2, r1, r2 + print *, i1, i2, l1, l2, ichar(c1), ichar(c2), r1, r2 if ( i1 .ne. 0 .or. i2 .ne. 0 ) call abort() if ( l1 .or. l2 ) call abort() if ( c1 .ne. achar(0) .or. c2 .ne. achar(0) ) call abort()