[PATCH] [clang] add support for -W{no-,}inline-asm-syntax

Richard Sandiford rsandifo at linux.vnet.ibm.com
Fri Feb 21 02:10:16 PST 2014


Reading this back I realise the last part was lacking the rider:

Richard Sandiford <rsandifo at linux.vnet.ibm.com> writes:
> Given that the compiler can't exploit its knowledge the asm contents,

...as a substitute for the constraints.

It's OK to use the integrated assembler to get a more accurate idea
of how long the asm is, or how best to schedule it.  But not being
able to parse it for those purposes seems like warning rather than
error territory.

Thanks,
Richard




More information about the cfe-commits mailing list