Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / gcc / testsuite / gfortran.dg / bound_5.f90
blob4cd2e70e1cb63f04342a149242d41af12dfa8986
1 ! { dg-do run }
3 ! PR fortran/38859
4 ! Wrong bounds simplification
6 ! Contributed by Dick Hendrickson <dick.hendrickson@gmail.com>
8 type x
9 integer I
10 end type x
11 type (x) A(0:5, 2:8)
12 integer ida(2)
14 ida = lbound(a)
15 if (any(ida /= (/0,2/))) STOP 1
17 ida = lbound(a%i)
18 if (any(ida /= (/1,1/))) STOP 2
20 ida = ubound(a)
21 if (any(ida /= (/5,8/))) STOP 3
23 ida = ubound(a%i)
24 if (any(ida /= (/6,7/))) STOP 4
26 end