Commit 420b320a by Jerry DeLisle

re PR fortran/31199 (write with "t1" + nonadvancing transfer format gives wrong output)

2007-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/31199
	* gfortran.dg/fmt_t_4.f90: New test.

From-SVN: r123207
parent 2ff0a77e
2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31199
* gfortran.dg/fmt_t_4.f90: New test.
2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/31297
! { dg-do run }
! PR31199, test case from PR report.
program write_write
character(len=20) :: a,b,c
write (10,"(a,t1,a,a)") "xxxxxxxxx", "abc", "def"
write (10,"(a,t1,a)",advance='no') "xxxxxxxxx", "abc"
write (10,"(a)") "def"
write (10,"(a)") "abcdefxxx"
rewind(10)
read(10,*) a
read(10,*) b
read(10,*) c
if (a.ne.b) call abort()
IF (b.ne.c) call abort()
end
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