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

Side by Side Diff: gcc/gcc/testsuite/gfortran.dg/backspace_10.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, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 ! { dg-do run { target fd_truncate } } 1 ! { dg-do run }
2 ! PR33307 I/O read/positioning problem - in BACKSPACE 2 ! PR33307 I/O read/positioning problem - in BACKSPACE
3 ! Test case devloped from test in PR by Jerry DeLisle <jvdelisle@gcc.gnu.org> 3 ! Test case devloped from test in PR by Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 program gfcbug69b 4 program gfcbug69b
5 ! Modified example program 5 ! Modified example program
6 implicit none 6 implicit none
7 integer, parameter :: iunit = 63 7 integer, parameter :: iunit = 63
8 integer :: istat, k, ios 8 integer :: istat, k, ios
9 character(len=20) :: line, message 9 character(len=20) :: line, message
10 10
11 open (iunit) 11 open (iunit)
(...skipping 16 matching lines...) Expand all
28 read (iunit,'(a)',iostat=ios) line 28 read (iunit,'(a)',iostat=ios) line
29 if (ios /= 0) call abort 29 if (ios /= 0) call abort
30 read (iunit,'(a)',iostat=ios) line 30 read (iunit,'(a)',iostat=ios) line
31 if (ios /= 0) call abort 31 if (ios /= 0) call abort
32 read (iunit,'(a)',iostat=ios) line 32 read (iunit,'(a)',iostat=ios) line
33 if (ios /= 0) call abort 33 if (ios /= 0) call abort
34 read (iunit,'(a)',iostat=ios) line 34 read (iunit,'(a)',iostat=ios) line
35 if (ios /= -1) call abort 35 if (ios /= -1) call abort
36 close (iunit, status="delete") 36 close (iunit, status="delete")
37 end program gfcbug69b 37 end program gfcbug69b
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/gfortran.dg/backslash_1.f90 ('k') | gcc/gcc/testsuite/gfortran.dg/backspace_4.f » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698