[cfe-dev] Clang miscompiles casted bitfields expression
Abramo Bagnara
abramobagnara at tin.it
Thu Jul 2 23:24:59 PDT 2009
Douglas Gregor ha scritto:
>
>
> Oh, that's not good. We should skip ParenExprs, only.
>
>> The fix should be trivial (and the problem is currently rather severe),
>> but I want to be sure to not misunderstand something.
>
>
> Want to submit the patch to fix this? (If not, please file a bug report
> so it doesn't get lost)
I've attached the trivial patch.
I've also verified that it does not add any other failures to the 295
currently in r7462.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitfields.patch
Type: text/x-patch
Size: 431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090703/07fa1c7a/attachment.bin>
More information about the cfe-dev
mailing list