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: linux says it is a bug


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~


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