[PATCH] D11148: [ARM] Implement -Wa, -mfpu and friends for assemblers

Renato Golin renato.golin at linaro.org
Sat Jul 18 03:06:40 PDT 2015


rengolin added a comment.

In http://reviews.llvm.org/D11148#207698, @joerg wrote:

> I find it confusing that both -mcpu and -Wa,-mcpu are honoured. Shouldn't be warn about conflicts?


My reasoning is that in build systems, CFLAGS is set differently, and where people use the compiler to assemble files, it's common to have ASFLAGS as a composition of CFLAGS and extra options, like -Wa flags. FWIW, GCC doesn't warn either.


http://reviews.llvm.org/D11148







More information about the cfe-commits mailing list