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




_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to