https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177
--- Comment #9 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, May 20, 2020 at 04:10:50AM +0000, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 > > Thomas Koenig <tkoenig at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Ever confirmed|0 |1 > Status|UNCONFIRMED |NEW > Last reconfirmed| |2020-05-20 > > --- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- > Alternatively, it might make sense to change some variable types to > GFC_UINTEGER_1 aka unsigned char. > That could work. I'm still trying to understand how an option names -Werror=char-subscripts could trigger an error. There are no subscripts. AFAIK, the patched routines are not general purpose routines, so the char arguments can only take on values from the Fortran character set, which is a subset of the 7-bit ASCII set. Just commit the patch. I've wasted too much time trying to get an answer about how the option works. Nothing like cluttering working code.