This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17211] [sparc/i386]: Bitfields should be *unsigned* by default.
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2004 16:27:05 -0000
- Subject: [Bug target/17211] [sparc/i386]: Bitfields should be *unsigned* by default.
- References: <20040827145141.17211.terra@gnome.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm at polyomino dot org dot uk 2004-08-27 16:27 -------
Subject: Re: [sparc/i386]: Bitfields should be *unsigned*
by default.
I would add that the definition in mcore/mcore.h
/* The MCore ABI says that bitfields are unsigned by default. */
#define CC1_SPEC "-funsigned-bitfields"
is in clear contradiction to the documentation of bit-field handling;
either that definition should be removed or the documentation should be
revisited to allow for target exceptions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17211