Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / gcc / testsuite / gfortran.dg / reshape_6.f90
blob149f31efe7a89dd9dd82c019b04b5ec172e7b2ab
1 ! { dg-do compile }
2 ! PR fortran/58989
4 program test
6 real(8), dimension(4,4) :: fluxes
7 real(8), dimension(2,2,2,2) :: f
8 integer, dimension(3) :: dmmy
9 integer, parameter :: indx(4)=(/2,2,2,2/)
11 fluxes = 1
13 dmmy = (/2,2,2/)
15 f = reshape(fluxes,(/dmmy,2/)) ! Caused an ICE
16 f = reshape(fluxes,(/2,2,2,2/)) ! Works as expected
17 f = reshape(fluxes,indx) ! Works as expected
19 end program test