basic asm and memory clobbers - Proposed solution
Andrew Haley
aph@redhat.com
Mon Nov 30 12:01:00 GMT 2015
On 11/29/2015 11:53 PM, David Wohlferd wrote:
>
> Trying to guess what people might have been expecting is a losing game.
We have to do it all the time.
> There is a way for people to be clear about what they want to clobber,
> and that's to use extended asm. The way to clear up the ambiguity is to
> start deprecating basic asm, not to add to the confusion by changing its
> behavior after all these years.
Well, I disagree. The warning is good, but so is the memory clobber.
They're not exclusive.
Andrew.
More information about the Gcc
mailing list