annotate gcc/testsuite/gfortran.dg/past_eor.f90 @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do run }
kono
parents:
diff changeset
2 ! Test of the fix to the bug triggered by NIST fm908.for.
kono
parents:
diff changeset
3 ! Contributed by Paul Thomas <pault@gcc.gnu.org>
kono
parents:
diff changeset
4 !
kono
parents:
diff changeset
5 program past_eor
kono
parents:
diff changeset
6 character(len=82) :: buffer
kono
parents:
diff changeset
7 real :: a(2), b(2), c(2), d(2), e(2)
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 e = (/2.34,2.456/)
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 ! tests 28-31 from fm908.for
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 buffer = ' 2.34 , 2.456 2.34 , 2.456 0.234E01, 2.456E00&
kono
parents:
diff changeset
14 & 0.234E+001, 2.456E-000'
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 READ (UNIT=buffer,FMT=10) a, b, c, d
kono
parents:
diff changeset
17 10 FORMAT (2(2(G7.5,1X),2X),2(G10.4E2,1X),1X,2(G11.7E4,1X))
kono
parents:
diff changeset
18
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
19 if (any (a.ne.e).or.any (b.ne.e).or.any (c.ne.e).or.any (d.ne.e)) STOP 1
111
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 end program past_eor
kono
parents:
diff changeset
22