[cfe-dev] Clang miscompiles casted bitfields expression
dgregor at apple.com
Mon Jul 6 08:40:11 PDT 2009
On Jul 6, 2009, at 5:08 AM, Abramo Bagnara wrote:
> Abramo Bagnara ha scritto:
>> 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
>>>> but I want to be sure to not misunderstand something.
>>> Want to submit the patch to fix this? (If not, please file a bug
>>> so it doesn't get lost)
>> I've attached the trivial patch.
> There are some problems with this one-line patch?
No, you just happened to have the misfortune of sending your patch at
the beginning of a long holiday weekend here in the U.S.
I've committed the patch (with test case) here:
More information about the cfe-dev