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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
data_derived_1.f90
blob
4318f5824f9564e12728b8b4f4783a9d2984b2b5
1
! { dg-do run }
2
! PR 66328 - this used to give a wrong value for integer values for DATA
3
program
main
4
TYPE
t
5
REAL
r
6
END TYPE
t
7
TYPE
(
t
)
e1
,
e2
8
9
DATA
e1
/
t
(
1
) /
10
DATA
e2
/
t
(
1.0
) /
11
if
(
abs
(
e1
%
r
-
1.0
) >
1e-6
)
STOP
1
12
if
(
abs
(
e2
%
r
-
1.0
) >
1e-6
)
STOP
2
13
END