https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85521

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---

$ cat z2.f90
program p
   character(3) :: c = 'abc'
   character(3) :: z(1)
   z = [ c(:-2) ]
   print *, z
end


$ gfortran-8-20180422 -c z2.f90
z2.f90:4:0:

    z = [ c(:-2) ]

Warning: '__builtin_memmove' specified size 18446744073709551614 exceeds
maximum object size 9223372036854775807 [-Wstringop-overflow=]

Reply via email to