Re: Inline Assembly queries
From: David Howells <dhowells@redhat.com>
Date: 2009-06-29 15:57:34
Possibly related (same subject, not in this thread)
- 2009-06-27 · Inline Assembly queries · kernel mailz <hidden>
From: David Howells <dhowells@redhat.com>
Date: 2009-06-29 15:57:34
kernel mailz [off-list ref] 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