patch - gcc-4.0 not c99 conforming when assigning scalar values to boolean bitfields
Fariborz Jahanian
fjahanian@apple.com
Thu Mar 31 23:09:00 GMT 2005
On Mar 31, 2005, at 2:42 PM, Joseph S. Myers wrote:
> 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.
Thanks for this info. Shouldn't we still have to deal with the case
that gcc-4.0's
behavior (and its structure layout) is different from gcc/g++ 3.3, as
well as g++ 4.0. Once
the standard resolves this, we can place any new change under gcc's
relevant -std flag.
- fariborz
>
> --
> 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)
More information about the Gcc-patches
mailing list