linux says it is a bug

Richard Henderson rth@redhat.com
Tue Mar 4 19:30:00 GMT 2014


On 03/04/2014 01:23 AM, Richard Biener wrote:
> Doesn't sound like a bug but a feature.  We can move
> asm ("" : : : "memory") around freely up to the next/previous
> instruction involving memory.

Asms without outputs are automatically volatile.  So there ought be zero change
with and without the explicit use of the __volatile__ keyword.


r~



More information about the Gcc mailing list