ringtest: use link-time optimization
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Oct 2016 09:39:10 +0000 (11:39 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Oct 2016 22:21:42 +0000 (00:21 +0200)
By using -flto and -fwhole-program, all functions from the ring implementation
can be treated as static and possibly inlined.  Force this to happen through
the GCC flatten attribute.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

No differences found