[llvm-commits] [llvm-gcc-4.2] r100565 - /llvm-gcc-4.2/trunk/gcc/c-parser.c

Eli Friedman eli.friedman at gmail.com
Tue Apr 6 15:03:31 PDT 2010


On Tue, Apr 6, 2010 at 2:56 PM, Bob Wilson <bob.wilson at apple.com> wrote:
> Author: bwilson
> Date: Tue Apr  6 16:56:05 2010
> New Revision: 100565
>
> URL: http://llvm.org/viewvc/llvm-project?rev=100565&view=rev
> Log:
> Disable the "ISO C forbids braced-groups within expressions" pedantic
> warning.  This is needed for llvm's implementation of the ARM NEON intrinsics,
> which use macros with statements expressions instead of inline functions.
> This warning made is impossible to compile NEON intrinsics with "-pedantic
> -Werror".  Radar 7833512.

Umm, this isn't really good... would it be possible to change the
header in question to use __extension__ to avoid the warnings?

-Eli




More information about the llvm-commits mailing list