Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/pr29067.f @ 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/29067 implicit none integer :: n, i character(len=16),parameter :: s = "", s2 = "1234567890123456" i = 0 ; n = 9 print *, s(9:16) print *, s2(9:16) if (s(9:16) == "90123456") then endif if (i > 0) then write (i,*) n call foo(0) endif do i = 1, n end do end