This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch - gcc-4.0 not c99 conforming when assigning scalar valuesto boolean bitfields
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Fariborz Jahanian <fjahanian at apple dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 31 Mar 2005 22:42:01 +0000 (UTC)
- Subject: Re: patch - gcc-4.0 not c99 conforming when assigning scalar valuesto boolean bitfields
- References: <26E1AC94-A231-11D9-B8B3-000393B9ED88@apple.com>
On Thu, 31 Mar 2005, Fariborz Jahanian wrote:
> gcc-4.0 is not c99 conforming when assigning scalar values to boolean
> bitfields.
Rather, the standard in unclear.
I *already said* <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00396.html>
it wasn't worthwhile sending a patch for this until the standard has been
clarified. The issue was discussed at length in WG14 reflector messages
10386 to 10438. I have a DR proposal for this
<http://www.srcf.ucam.org/~jsm28/gcc/pre-dr-12.txt>. It will be submitted
to WG14 after Lillehammer since I only passed seven DRs through the UK C
Panel in time for the pre-Lillehammer mailing. When it is submitted to
WG14 and accepted as a DR with a DR number assigned, I will mark the
relevant test DISPUTED with the relevant testsuite vendor.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)