Hi,
I've been looking at documentation of these GCC flags:

-O0
Reduce compilation time and make debugging produce the expected results. This is the default

-Og
Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience.

(from https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)


Currently, we use -O0 for the debug build of Python, but it seems that -Og would actually be a better option. Is there something I'm missing?
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org

Reply via email to