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
3c0c5027
Commit
3c0c5027
authored
Dec 14, 2009
by
Dominique d'Humieres
Committed by
Uros Bizjak
Dec 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boz_15.f90: Fix typos.
* gfortran.dg/boz_15.f90: Fix typos. From-SVN: r155225
parent
e07983ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gfortran.dg/boz_15.f90
+5
-5
No files found.
gcc/testsuite/ChangeLog
View file @
3c0c5027
2009-12-14 Dominique d'Humieres <dominiq@lps.ens.fr>
* gfortran.dg/boz_15.f90: Fix typos.
2009-12-14 Jakub Jelinek <jakub@redhat.com>
Sebastian Pop <sebastian.pop@amd.com>
...
...
gcc/testsuite/gfortran.dg/boz_15.f90
View file @
3c0c5027
...
...
@@ -8,7 +8,7 @@
! which needs integer(16) support.
!
implicit
none
character
(
len
=
25
5
)
::
str
character
(
len
=
25
6
)
::
str
integer
,
parameter
::
xp
=
selected_real_kind
(
precision
(
0.0d0
)
+1
)
real
(
xp
)
::
r1
,
r2
complex
(
xp
)
::
z1
,
z2
...
...
@@ -16,8 +16,8 @@ complex(xp) :: z1,z2
r2
=
5.0_xp
r1
=
2.0_xp
! Real B(OZ)
write
(
str
,
'(b12
6
)'
)
r1
read
(
str
,
'(b12
6
)'
)
r2
write
(
str
,
'(b12
8
)'
)
r1
read
(
str
,
'(b12
8
)'
)
r2
if
(
r2
/
=
r1
)
call
abort
()
! Real (B)O(Z)
r2
=
5.0_xp
...
...
@@ -33,8 +33,8 @@ if(r2 /= r1) call abort()
z2
=
cmplx
(
5.0_xp
,
7.0_xp
)
z1
=
cmplx
(
2.0_xp
,
3.0_xp
)
! Complex B(OZ)
write
(
str
,
'(2b12
6
)'
)
z1
read
(
str
,
'(2b12
6
)'
)
z2
write
(
str
,
'(2b12
8
)'
)
z1
read
(
str
,
'(2b12
8
)'
)
z2
if
(
z2
/
=
z1
)
call
abort
()
! Complex (B)O(Z)
z2
=
cmplx
(
5.0_xp
,
7.0_xp
)
...
...
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