[PATCH] Add support for -funsigned-bitfields

Renato Golin renato.golin at linaro.org
Tue Jan 28 14:28:58 PST 2014


On 28 January 2014 21:10, Richard Smith <metafoo at gmail.com> wrote:

> Compatibility with GCC is a means to an end -- we primarily aim to be
> compatible with GCC in order to make it easy for people to move code
> between GCC and Clang. Is there some particular code that relies on this?
> Is there a good reason to think it's better to implement this feature in
> Clang rather than fixing the code that relies on it?
>

IIUC, this is in GCC because it was an old RVCT feature, and it was so
probably because an ancient user needed for some obscure reason that was
only valid on a very narrow embedded context.

Maybe ARM folks can explain the rationale behind this on any modern
codebase.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140128/b28c4314/attachment.html>


More information about the cfe-commits mailing list