Hi,

the PR is a gcc-9 only regression, for which I just committed a test
case to trunk.

We can then check what fixed this...

2019-11-23  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/92442
        * gfortran.dg/bounds_check_21.f90: New test.

! { 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

Reply via email to