This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[patch, committed] fix gfortran.dg/eoshift.f90
- From: Thomas Koenig <Thomas dot Koenig at online dot de>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Fri, 12 Aug 2005 22:09:44 +0200
- Subject: [patch, committed] fix gfortran.dg/eoshift.f90
Committed as obvious on mainline and 4.0 (it was acceppted before,
but erroneously).
Thomas
Index: gfortran.dg/eoshift.f90
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gfortran.dg/eoshift.f90,v
retrieving revision 1.1
diff -c -p -r1.1 eoshift.f90
*** gfortran.dg/eoshift.f90 30 Apr 2005 20:51:39 -0000 1.1
--- gfortran.dg/eoshift.f90 12 Aug 2005 20:01:57 -0000
***************
*** 2,6 ****
! PR 18958: We used to segfault for eoshifting off the end of an array.
program main
character(len=20) line
! write (line,'(I4)') eoshift((/1, 3/), 3)
end program main
--- 2,6 ----
! PR 18958: We used to segfault for eoshifting off the end of an array.
program main
character(len=20) line
! write (line,'(2I4)') eoshift((/1, 3/), 3)
end program main