This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: basic asm and memory clobbers - Proposed solution


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]