Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
f7d7d3b7
Commit
f7d7d3b7
authored
Apr 10, 2005
by
Steven G. Kargl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gfortran.dg/PR19872.f: New test.
From-SVN: r97938
parent
48248fa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
2 deletions
+27
-2
gcc/testsuite/ChangeLog
+7
-2
gcc/testsuite/gfortran.dg/PR19872.f
+20
-0
No files found.
gcc/testsuite/ChangeLog
View file @
f7d7d3b7
2005
--
4
-
09
Steven
G
.
Kargl
<
kargls
@comcast
.
net
>
2005
-
04
-
09
Bud
Davis
<
bdavis
@gfortran
.
org
>
Steven
G
.
Kargl
<
kargls
@comcast
.
net
>
*
gfortran
.
dg
/
PR19872
.
f
:
New
test
.
2005
-
04
-
09
Steven
G
.
Kargl
<
kargls
@comcast
.
net
>
*
gfortran
.
dg
/
nint_1
.
f90
:
Fix
dg
-
do
directive
2005
-
-
4
-
09
Steven
G
.
Kargl
<
kargls
@comcast
.
net
>
2005
-
0
4
-
09
Steven
G
.
Kargl
<
kargls
@comcast
.
net
>
*
gfortran
.
dg
/
nint_1
.
f90
:
New
test
.
...
...
gcc/testsuite/gfortran.dg/PR19872.f
0 → 100644
View file @
f7d7d3b7
! { dg-do run }
! PR 19872 - closed and re-opened file not overwriten
implicit none
integer i(4)
data i / 4 * 0 /
open(1,form='FORMATTED',status='UNKNOWN')
write(1,'("1 2 3 4 5 6 7 8 9")')
close(1)
open(1,form='FORMATTED')
write(1,'("9 8 7 6")')
close(1)
open(1,form='FORMATTED')
read(1,*)i
if(i(1).ne.9.and.i(2).ne.8.and.i(3).ne.7.and.i(4).ne.9)call abort
read(1,*,end=200)i
! should only be able to read one line from the file
call abort
200 continue
close(1,STATUS='DELETE')
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment