aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2007-05-10 03:22:40 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2007-05-10 03:22:40 +0000
commit8e3dfafeb9cf5a76eed6b4e9162dd1a169979466 (patch)
treed03f363767bdddc1b1b03b927bb2a922cd859ca9
parentd9099df88397aebc1ff7c0f116c1afb3602cbedc (diff)
downloadgcc-8e3dfafeb9cf5a76eed6b4e9162dd1a169979466.zip
gcc-8e3dfafeb9cf5a76eed6b4e9162dd1a169979466.tar.gz
gcc-8e3dfafeb9cf5a76eed6b4e9162dd1a169979466.tar.bz2
re PR libfortran/31880 ([4.2 only] silent data corruption in gfortran read statement)
2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/31880 * gfortran.dg/unf_read_corrupted_2.f90: Fix test. From-SVN: r124591
-rw-r--r--gcc/testsuite/gfortran.dg/unf_read_corrupted_2.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/unf_read_corrupted_2.f90 b/gcc/testsuite/gfortran.dg/unf_read_corrupted_2.f90
index 2a75da7..1788b45 100644
--- a/gcc/testsuite/gfortran.dg/unf_read_corrupted_2.f90
+++ b/gcc/testsuite/gfortran.dg/unf_read_corrupted_2.f90
@@ -14,7 +14,7 @@
d(i)=i
end do
- open (3,file='a',form='unformatted')
+ open (3,form='unformatted', status="scratch")
write (3) a,b,c,d,e
rewind 3
d = 0