Commit ac9a43e1 by Steve Ellcey Committed by Steve Ellcey

dec_init_1.f90 (dummy): Use ichar in print statement.

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.

From-SVN: r251389
parent d876eb05
2017-08-28 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.
2017-08-28 Richard Biener <rguenther@suse.de> 2017-08-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/81977 PR tree-optimization/81977
......
...@@ -14,7 +14,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2) ...@@ -14,7 +14,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2)
real, intent(inout) :: r2 real, intent(inout) :: r2
character, intent(inout) :: c2 character, intent(inout) :: c2
logical, intent(inout) :: l2 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 ( i1 .ne. 0 .or. i2 .ne. 0 ) call abort()
if ( l1 .or. l2 ) call abort() if ( l1 .or. l2 ) call abort()
if ( c1 .ne. achar(0) .or. c2 .ne. achar(0) ) call abort() if ( c1 .ne. achar(0) .or. c2 .ne. achar(0) ) call abort()
......
...@@ -15,7 +15,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2) ...@@ -15,7 +15,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2)
real, intent(inout) :: r2 real, intent(inout) :: r2
character, intent(inout) :: c2 character, intent(inout) :: c2
logical, intent(inout) :: l2 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 ( i1 .ne. 42 .or. i2 .ne. 42 ) call abort()
if ( (.not. l1) .or. (.not. l2) ) call abort() if ( (.not. l1) .or. (.not. l2) ) call abort()
if ( c1 .ne. achar(32) .or. c2 .ne. achar(32) ) call abort() if ( c1 .ne. achar(32) .or. c2 .ne. achar(32) ) call abort()
......
...@@ -14,7 +14,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2) ...@@ -14,7 +14,7 @@ subroutine dummy(i1,r1,c1,l1,i2,r2,c2,l2)
real, intent(inout) :: r2 real, intent(inout) :: r2
character, intent(inout) :: c2 character, intent(inout) :: c2
logical, intent(inout) :: l2 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 ( i1 .ne. 0 .or. i2 .ne. 0 ) call abort()
if ( l1 .or. l2 ) call abort() if ( l1 .or. l2 ) call abort()
if ( c1 .ne. achar(0) .or. c2 .ne. achar(0) ) call abort() if ( c1 .ne. achar(0) .or. c2 .ne. achar(0) ) call abort()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment