[Bug fortran/79929] [7/8 Regression] Bogus Warning: '__builtin_memset': specified size 4294967291 exceeds maximum object size 2147483647

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Fri Nov 24 23:32:00 GMT 2017


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

--- Comment #24 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The following variant does not give the warning

subroutine gfcbug138 (yerrmsg)
  character(kind=1,len=*) :: yerrmsg
  character(kind=1,len=len(yerrmsg)+5) :: tmp
  tmp = 1_"bug: " // yerrmsg
  yerrmsg = tmp
end subroutine gfcbug138


More information about the Gcc-bugs mailing list