Hi,

I just committed a test case for PR 94091 as obvious.
I had to fight git tooth and nail to do this.

I'm sure that git does wonderful things for you when you
have a mental picture in your mind of what is actually
going on For people who don't, it is a catastrophe, and
this includes most of the current gfortran maintainers.

(I was going to write up what I did to commit this patch,
but being surprised by error messages and then trying to
get around them does not really make for a good recipe...)

Regards

        Thomas

2020-04-12  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/94091
        * gfortran.dg/char_length_22.f90: New test.
! { dg-do compile }
! { dg-options "-O -Wall" }
! PR 94091 - this used to give a bogus warning.
! Test case by "MikeS".
program tester
  character(50) cname,fred
  fred='1234567890123456789012345678901234567890' ! 40 characters
  kk=len_trim(fred)
  cname=fred(5:kk)
  print *,kk,cname
end program tester

Reply via email to