Re: PROPOSAL: Extend inline asm syntax with size spec

From: Segher Boessenkool
Date: Mon Oct 08 2018 - 06:56:52 EST


On Mon, Oct 08, 2018 at 11:07:46AM +0200, Richard Biener wrote:
> > All of a targets register names and alternative register names are
> > allowed in the clobber list. Will that never conflict with an attribute
> > name? We already *have* syntax for specifying attributes on an asm (on
> > *any* statement even), so mixing these two things has no advantage.
>
> Heh, but I failed to make an example with attribute synatx working.
> IIRC attributes do not work on stmts. What could work is to use
> a #pragma though.

Apparently statement attributes currently(?) only work for null statements.
Oh well.


Segher