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
0919f637
Commit
0919f637
authored
May 28, 2007
by
Brooks Moses
Committed by
Brooks Moses
May 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gfortran.dg/transfer_simplify_4.f90: New test.
From-SVN: r125136
parent
20585ad6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gfortran.dg/transfer_simplify_4.f90
+30
-0
No files found.
gcc/testsuite/ChangeLog
View file @
0919f637
2007
-
05
-
28
Brooks
Moses
<
brooks
.
moses
@codesourcery
.
com
>
*
gfortran
.
dg
/
transfer_simplify_3
.
f90
:
New
test
.
2007
-
05
-
27
Tobias
Burnus
<
burnus
@net
-
b
.
de
>
PR
fortran
/
32088
gcc/testsuite/gfortran.dg/transfer_simplify_4.f90
0 → 100644
View file @
0919f637
! { dg-do run }
! { dg-options "-O0" }
! Tests that the in-memory representation of a transferred variable
! propagates properly.
!
implicit
none
integer
,
parameter
::
ip1
=
42
logical
,
parameter
::
ap1
=
transfer
(
ip1
,
.true.
)
integer
,
parameter
::
ip2
=
transfer
(
ap1
,
0
)
logical
::
a
integer
::
i
i
=
transfer
(
transfer
(
ip1
,
.true.
),
0
)
if
(
i
.ne.
ip1
)
call
abort
()
i
=
transfer
(
ap1
,
0
)
if
(
i
.ne.
ip1
)
call
abort
()
a
=
transfer
(
ip1
,
.true.
)
i
=
transfer
(
a
,
0
)
if
(
i
.ne.
ip1
)
call
abort
()
i
=
ip1
a
=
transfer
(
i
,
.true.
)
i
=
transfer
(
a
,
0
)
if
(
i
.ne.
ip1
)
call
abort
()
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