On 12 November 2013 15:21, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > Il 12/11/2013 16:13, Peter Maydell ha scritto: >>>> >> >>>> >> -O1 then for clang. >>> > >>> > We can even test in configure for the exact optimizations we want, in >>> > fact. But I think -O1 doesn't sacrifice debuggability that much: >> I'm afraid I still don't see why you'd want to sacrifice it >> at all, > > Is this FUD or do you have examples of bad debuggability of -O1 code? The clang manpage says specifically "Note that Clang debug information works best at -O0. ", and I see no reason to disbelieve it. In particular, they don't say "we definitely will never add an optimization to -O1 that makes the debug info much worse". -- PMM -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html