Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/bounds_check_21.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
! { dg-do compile } ! { dg-options "-Warray-bounds -O2" } ! PR 92422 - this complained about an array subscript out of bounds. PROGRAM character_warning CHARACTER(len=16) :: word word = 'hi' WRITE(*,*) word END PROGRAM character_warning