blob: 79118af3f7becaa221d2bf65e6e72b6300c323e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
! { dg-do compile }
! { dg-timeout-factor 4 }
! PR20923 gfortran slow for large array constructors.
! Test case prepared from PR by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program sel
implicit none
integer(kind=4),parameter :: n=1000
integer(kind=4) :: i,j
real(kind=4),dimension(n*n) :: vect
vect(:) = (/ ((( (i+j+3)),i=1,n),j=1,n) /)
end
|