Commit c49eacd5 by Ira Rosen Committed by Ira Rosen

re PR tree-optimization/50178 (ICE with gfortran -O3, not with gfortran -02)


        PR tree-optimization/50178
        * gfortran.dg/vect/pr50178.f90: New test.

From-SVN: r178397
parent 957b9e22
2011-09-01 Ira Rosen <ira.rosen@linaro.org>
PR tree-optimization/50178
* gfortran.dg/vect/pr50178.f90: New test.
2011-08-31 Martin Jambor <mjambor@suse.cz>
PR middle-end/49886
......
! { dg-do compile }
module yemdyn
implicit none
integer, parameter :: jpim = selected_int_kind(9)
integer, parameter :: jprb = selected_real_kind(13,300)
real(kind=jprb) :: elx
real(kind=jprb), allocatable :: xkcoef(:)
integer(kind=jpim),allocatable :: ncpln(:), npne(:)
end module yemdyn
subroutine suedyn
use yemdyn
implicit none
integer(kind=jpim) :: jm, jn
real(kind=jprb) :: zjm, zjn, zxxx
jn=0
do jm=0,ncpln(jn)
zjm=real(jm,jprb) / elx
xkcoef(npne(jn)+jm) = - zxxx*(zjm**2)**0.5_jprb
end do
end subroutine suedyn
! { dg-final { cleanup-tree-dump "vect" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment