[Bug other/94182] Document -Wchar-subscripts
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 15 19:50:03 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Considering it is documented in another place where char is signed or unsigned.
I don't know if this needs to change.
https://gcc.gnu.org/onlinedocs/gcc-9.3.0/gcc/Characters-implementation.html#Characters-implementation
Which of signed char or unsigned char has the same range, representation, and
behavior as “plain” char (C90 6.1.2.5, C90 6.2.1.1, C99 and C11 6.2.5, C99 and
C11 6.3.1.1).
Determined by ABI. The options -funsigned-char and -fsigned-char change the
default. See Options Controlling C Dialect.
----- CUT -----
Plus -funsigned-char/-fsigned-char
More information about the Gcc-bugs
mailing list