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 12/01/2015 03:29 PM, David Wohlferd wrote:
On 11/30/2015 4:01 AM, Andrew Haley wrote:
 >> 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.

As Richard Henderson put it: "I'd be perfectly happy to deprecate and
later completely remove basic asm within functions."
I understand Richard's position and while I think it has some merit, I think it's probably taking things too far at this time.

Jeff


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