Re: [RFC] LKMM: Add volatile_if()

Segher Boessenkool
2021-06-06T17:18:28Z

On Sun, Jun 06, 2021 at 09:47:49AM -0400, Alan Stern wrote:
> > GCC does not pretend it can understand the asm. But it can see when
> > two asm statements are identical.
>
> How similar do two asm strings have to be before they are considered
> identical? For instance, do changes to the amount of leading or
> trailing whitespace matter?

They have to be identical to be considered identical.

> Or what about including an empty assembly statement in one but not the
> other?

GCC does not parse the assembler template.

Segher