Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/array_5.f90 @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
! { dg-do compile } ! ! PR fortran/54166 ! There was an ICE while chosing the bounds to scalarize the FAIL line. ! ! Contributed by Koen Poppe <koen.poppe@cs.kuleuven.be> ! module ds_routines contains subroutine dsget(vertic,rstore) real, dimension(:), intent(in out) :: rstore real, dimension(:,:), intent(out) :: vertic integer :: nrvert,point nrvert = 4 point = 26 vertic(1,1:nrvert) = rstore(point+1:point+nrvert) ! FAIL end subroutine dsget end module ds_routines program ds_routines_program use ds_routines print *, "ok" end program ds_routines_program