2 ! { dg-add-options ieee }
3 real :: a(3), nan
, minf
, pinf
5 real, allocatable
:: c(:)
19 if (ia(1).ne
.1) STOP 1
22 if (ia(1).ne
.1) STOP 2
25 if (ia(1).ne
.3) STOP 3
28 if (ia(1).ne
.2) STOP 4
31 if (ia(1).ne
.2) STOP 5
34 if (ia(1).ne
.1) STOP 6
37 if (ia(1).ne
.1) STOP 7
40 if (ia(1).ne
.3) STOP 8
43 if (ia(1).ne
.2) STOP 9
46 if (ia(1).ne
.2) STOP 10
50 ia
= minloc (a
, mask
= l
)
51 if (ia(1).ne
.0) STOP 11
52 ia
= minloc (a
, mask
= l2
)
53 if (ia(1).ne
.0) STOP 12
55 ia
= minloc (a
, mask
= l
)
56 if (ia(1).ne
.0) STOP 13
57 ia
= minloc (a
, mask
= l2
)
58 if (ia(1).ne
.0) STOP 14
60 ia
= minloc (a
, mask
= l
)
61 if (ia(1).ne
.0) STOP 15
62 ia
= minloc (a
, mask
= l2
)
63 if (ia(1).ne
.0) STOP 16
65 ia
= minloc (a
, mask
= l
)
66 if (ia(1).ne
.0) STOP 17
67 ia
= minloc (a
, mask
= l2
)
68 if (ia(1).ne
.0) STOP 18
70 ia
= minloc (a
, mask
= l
)
71 if (ia(1).ne
.0) STOP 19
72 ia
= minloc (a
, mask
= l2
)
73 if (ia(1).ne
.0) STOP 20
75 ia
= minloc (c
, mask
= l
)
76 if (ia(1).ne
.0) STOP 21
77 ia
= minloc (c
, mask
= l2
)
78 if (ia(1).ne
.0) STOP 22
80 ia
= minloc (c
, mask
= l
)
81 if (ia(1).ne
.0) STOP 23
82 ia
= minloc (c
, mask
= l2
)
83 if (ia(1).ne
.0) STOP 24
85 ia
= minloc (c
, mask
= l
)
86 if (ia(1).ne
.0) STOP 25
87 ia
= minloc (c
, mask
= l2
)
88 if (ia(1).ne
.0) STOP 26
90 ia
= minloc (c
, mask
= l
)
91 if (ia(1).ne
.0) STOP 27
92 ia
= minloc (c
, mask
= l2
)
93 if (ia(1).ne
.0) STOP 28
95 ia
= minloc (c
, mask
= l
)
96 if (ia(1).ne
.0) STOP 29
97 ia
= minloc (c
, mask
= l2
)
98 if (ia(1).ne
.0) STOP 30
102 ia
= minloc (a
, mask
= l
)
103 if (ia(1).ne
.1) STOP 31
104 ia
= minloc (a
, mask
= l2
)
105 if (ia(1).ne
.1) STOP 32
107 ia
= minloc (a
, mask
= l
)
108 if (ia(1).ne
.1) STOP 33
109 ia
= minloc (a
, mask
= l2
)
110 if (ia(1).ne
.1) STOP 34
112 ia
= minloc (a
, mask
= l
)
113 if (ia(1).ne
.3) STOP 35
114 ia
= minloc (a
, mask
= l2
)
115 if (ia(1).ne
.3) STOP 36
117 ia
= minloc (a
, mask
= l
)
118 if (ia(1).ne
.2) STOP 37
119 ia
= minloc (a
, mask
= l2
)
120 if (ia(1).ne
.2) STOP 38
122 ia
= minloc (a
, mask
= l
)
123 if (ia(1).ne
.2) STOP 39
124 ia
= minloc (a
, mask
= l2
)
125 if (ia(1).ne
.2) STOP 40
127 ia
= minloc (c
, mask
= l
)
128 if (ia(1).ne
.1) STOP 41
129 ia
= minloc (c
, mask
= l2
)
130 if (ia(1).ne
.1) STOP 42
132 ia
= minloc (c
, mask
= l
)
133 if (ia(1).ne
.1) STOP 43
134 ia
= minloc (c
, mask
= l2
)
135 if (ia(1).ne
.1) STOP 44
137 ia
= minloc (c
, mask
= l
)
138 if (ia(1).ne
.3) STOP 45
139 ia
= minloc (c
, mask
= l2
)
140 if (ia(1).ne
.3) STOP 46
142 ia
= minloc (c
, mask
= l
)
143 if (ia(1).ne
.2) STOP 47
144 ia
= minloc (c
, mask
= l2
)
145 if (ia(1).ne
.2) STOP 48
147 ia
= minloc (c
, mask
= l
)
148 if (ia(1).ne
.2) STOP 49
149 ia
= minloc (c
, mask
= l2
)
150 if (ia(1).ne
.2) STOP 50
154 if (ia(1).ne
.0) STOP 51