[Interest] Optimizations in debug configuration

Konstantin Shegunov kshegunov at gmail.com
Fri Sep 23 00:52:28 CEST 2016


Hello,
What's the rationale of having -O2 for debug builds on Linux (g++)? As the
compiler moves the assembly around it becomes hell stepping through with
the debugger. Is the flag passed intentionally (and why)?

Kind regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160923/df22b396/attachment.html>


More information about the Interest mailing list