This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/71202] GCC's -funsigned-char ignored by -Wpointer-sign
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 May 2016 17:46:39 +0000
- Subject: [Bug c/71202] GCC's -funsigned-char ignored by -Wpointer-sign
- Auto-submitted: auto-generated
- References: <bug-71202-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71202
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There are three distant types for char:
char, unsigned char, signed char.
-funsigned-char/-fsigned-char just changes the signedness of the pain char
type, it does not change the type of char to be one of the other types.