Commit 2d8980b0 by Jerry DeLisle

re PR fortran/41075 ([F2008] Implement unlimited format item)

2009-08-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/41075
	* gfortran.dg/unlimited_fmt_1.f90: New test.

From-SVN: r150845
parent e2cec2c3
2009-08-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/41075
* gfortran.dg/unlimited_fmt_1.f90: New test.
2009-08-17 Dodji Seketeli <dodji@redhat.com>
* gcc.dg.debug/dwarf2/inline2.c: Add -dA to compile options.
......
! { dg-do run }
! PR41075 Implement unlimited format item '*'.
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program unlimited
implicit none
integer i
character(len=60) :: string
integer, parameter :: n = 10
integer, dimension(n) :: iarray
iarray = (/ (i,i=1,n) /)
do i=1,10
write( string, '( "iarray =", *(g0, :, ","))') &
& "abcdefg",iarray, i,"jklmnop"
end do
if (string.ne."iarray =abcdefg,1,2,3,4,5,6,7,8,9,10,10,jklmnop") &
& call abort
end program unlimited
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