repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
transpose_reshape_r10.f90
blob
83da8faeb1cb0bd02eca1f4a83367e5675de9602
1
! { dg-do run }
2
! { dg-require-effective-target fortran_large_real }
3
program
main
4
integer
,
parameter
::
k
=
selected_real_kind
(
precision
(
0.0
_8
) +
1
)
5
character
(
len
=
90
)
line
6
real
(
k
) ::
a
(
3
,
3
)
7
real
(
k
) ::
b
(
9
)
8
a
=
1.0
_k
9
a
(
1
,
3
) =
0.0
_k
10
write
(
line
,
'(9G10.6)'
)
transpose
(
a
)
11
write
(
line
,
'(9G10.6)'
)
reshape
(
a
,
shape
(
b
))
12
end