Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1256)

Unified Diff: gcc/gcc/testsuite/gfortran.dg/read_bad_advance.f90

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/proc_ptr_common_1.f90 ('k') | gcc/gcc/testsuite/gfortran.dg/read_eor.f90 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gfortran.dg/read_bad_advance.f90
diff --git a/gcc/gcc/testsuite/gfortran.dg/read_bad_advance.f90 b/gcc/gcc/testsuite/gfortran.dg/read_bad_advance.f90
index 3ca4493c451fe0ce129282c378a2f7b0456cdf04..539ada496bebca5c57a1cdccef2ad6870705f62c 100644
--- a/gcc/gcc/testsuite/gfortran.dg/read_bad_advance.f90
+++ b/gcc/gcc/testsuite/gfortran.dg/read_bad_advance.f90
@@ -1,4 +1,4 @@
-! { dg-do run { target fd_truncate } }
+! { dg-do run }
! PR27138 Failure to advance line on bad list directed read.
! Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program test
@@ -7,7 +7,7 @@
real :: rtype
complex :: ctype
logical :: ltype
- OPEN (10)
+ OPEN (10, status="scratch")
write(10,*) "aaaa aaaa aaaa aaaa"
write(10,*) "bbbb bbbb bbbb bbbb"
write(10,*) "cccc cccc cccc cccc"
@@ -25,8 +25,8 @@
goto 99
80 READ (10,*,END=99,ERR=99) ntype
if (ntype.ne.1234) goto 99
- close(10, status="delete")
+ close(10)
stop
- 99 close(10, status="delete")
+ 99 close(10)
call abort()
end program test
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/proc_ptr_common_1.f90 ('k') | gcc/gcc/testsuite/gfortran.dg/read_eor.f90 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698