re PR libfortran/25631 (tl format specifier not working correctly)

2006-01-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/25631
	* gfortran.dg/fmt_tl.f: New test.

From-SVN: r109860
This commit is contained in:
Jerry DeLisle 2006-01-18 01:06:08 +00:00
parent 272c35bd98
commit e2d393e541
2 changed files with 38 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/25631
* gfortran.dg/fmt_tl.f: New test.
2006-01-17 Eric Christopher <echristo@apple.com>
* g++.old-deja/g++.warn/impint.C: Add -Wconversion.
@ -140,7 +145,7 @@
* gcc.dg/tree-ssa/alias-11.c: Likewise.
* gcc.dg/tree-ssa/alias-12.c: Likewise.
2005-01-14 Zdenek Dvorak <dvorakz@suse.cz>
2006-01-14 Zdenek Dvorak <dvorakz@suse.cz>
* gcc.dg/tree-ssa/pr19210-1.c: Update outcome. Add new test loop.
* gcc.dg/tree-ssa/pr19210-2.c: Ditto.
@ -295,7 +300,7 @@
* gcc.dg/tree-ssa/recip-2.c, gcc.dg/tree-ssa/pr23234.c: Provide
three divisions in order to do the optimization.
2005-01-11 Zdenek Dvorak <dvorakz@suse.cz>
2006-01-11 Zdenek Dvorak <dvorakz@suse.cz>
PR c++/25632
* g++.dg/other/pr25632.C: New test.
@ -347,16 +352,16 @@
* gfortran.dg/ichar_2.f90: New test.
2005-01-08 Erik Edelmann <eedelman@gcc.gnu.org>
2006-01-08 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/25093
* gfortran.dg/private_type_4.f90: New.
2005-01-07 Richard Guenther <rguenther@suse.de>
2006-01-07 Richard Guenther <rguenther@suse.de>
* gcc.dg/tree-ssa/loop-15.c: Use optimized dump.
2005-01-07 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
2006-01-07 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.dg/func_decl_1.f90: New.
* gfortran.dg/array_alloc_1.f90: Fix wrong function declaration.
@ -384,17 +389,17 @@
* gfortran.dg/assumed_size_refs_2.f90: New test.
* gfortran.dg/initialization_1.f90: Change warning message.
2005-01-06 Zdenek Dvorak <dvorakz@suse.cz>
2006-01-06 Zdenek Dvorak <dvorakz@suse.cz>
* gcc.dg/tree-ssa/loop-15.c: New test.
2005-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2006-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/25598
* gfortran.dg/backspace_3.f: New test.
* gfortran.dg/backspace_4.f: New test.
2005-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2006-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/24268
* gfortran.dg/fmt_white.f: Update test.

View File

@ -0,0 +1,25 @@
! { dg-do run }
! PR25631 Check that TL editing works for special case of no bytes written yet.
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
real x
character*15 line
x = 12.34
write(line,10) x
10 format(tr2,tl2,g11.4)
if (line.ne.' 12.34 ') call abort()
write(line,20) x
20 format(tr5,tl3,g11.4)
if (line.ne.' 12.34 ') call abort()
write(line,30) x
30 format(tr5,tl3,tl3,g11.4)
if (line.ne.' 12.34 ') call abort()
write(line,40) x
40 format(tr25,tl35,f11.4)
if (line.ne.' 12.3400 ') call abort()
write(line,50) x
50 format(tl5,tr3,f11.4)
if (line.ne.' 12.3400 ') call abort()
write(line,60) x
60 format(t5,tl3,f11.4)
if (line.ne.' 12.3400 ') call abort()
end