This is the mail archive of the
mailing list for the GCC project.
Re: basic asm and memory clobbers
- From: Jeff Law <law at redhat dot com>
- To: Andrew Pinski <pinskia at gcc dot gnu dot org>
- Cc: David Wohlferd <dw at limegreensocks dot com>, Segher Boessenkool <segher at kernel dot crashing dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, rth at gcc dot gnu dot org, Sandra Loosemore <sandra at codesourcery dot com>
- Date: Wed, 18 Nov 2015 15:04:03 -0700
- Subject: Re: basic asm and memory clobbers
- Authentication-results: sourceware.org; auth=none
- References: <563FE459 dot 3000003 at LimeGreenSocks dot com> <20151109093229 dot GA5260 at gate dot crashing dot org> <56493010 dot 9070707 at LimeGreenSocks dot com> <564A4AA5 dot 1080706 at redhat dot com> <564AC155 dot 4040601 at LimeGreenSocks dot com> <564B9CB1 dot 1060001 at redhat dot com> <CA+=Sn1nNBEquCEpxXwt0xY4FJ-_dXKCOaU96rkHYefqwkrB86Q at mail dot gmail dot com>
On 11/17/2015 03:07 PM, Andrew Pinski wrote:
I certainly understand being busy with other things. Thanks for chiming
in and clarifying your current thoughts.
On Wed, Nov 18, 2015 at 5:31 AM, Jeff Law <email@example.com> wrote:
On 11/16/2015 10:55 PM, David Wohlferd wrote:
- There is no standard that says it must do this.
True. But these after all are extensions and extensions have been
notoriously under-documented through the years.
- I'm only aware of 1 person who has ever asked for this change. And the
request has been deemed so unimportant it has languished for a very long
True. But I'd say for this case it means it just hasn't been high enough on
anyone's priority list to get resolved. I wouldn't be at all surprised if
Richard filed this bug to ensure that it didn't get lost. That's standard
development procedure for items we notice, but aren't actively working on.
It's unfortunate that Andrew muddied the waters. Andrew's conclusions,
particularly in c#6 are simply wrong.
Sorry about that. I have since changed my views on this matter to say
old-style asm should clobber memory. I should have written this
sooner but I have been busy with other things.