Inline Assembly queries

David Howells dhowells@redhat.com
Mon Jun 29 15:57:00 GMT 2009


kernel mailz <kernelmailz@googlemail.com> wrote:

> asm("sync");

Isn't gcc free to discard this as it has no dependencies, no indicated side
effects, and isn't required to be kept?  I think this should probably be:

	asm volatile("sync");

David



More information about the Gcc-help mailing list