basic asm and memory clobbers
Andrew Haley
aph@redhat.com
Tue Nov 24 09:48:00 GMT 2015
On 23/11/15 21:02, David Wohlferd wrote:
>> On 11/23/2015 2:04 AM, Andrew Haley wrote:
>> > My warning still holds: there are modes of compilation on some
>> > machines where you can't clobber all registers without causing reload
>> > failures. This is why Jeff didn't fix this in 1999. So, if we really
>> > do want to clobber "all" registers in basic asm it'll take a lot of
>> > work.
>
> I was always reluctant to see this change made. In addition to the
> issues you mention, I had questions about the impact on the surrounding
> code. I like Richard's direction much better. We can start with a
> disabled warning, then upgrade as seems warranted.
I don't see any problem with unconditionally clobbering memory.
Andrew.
More information about the Gcc
mailing list