Compiler in the News: Advanced Optimization and New Capabilities of GCC 10 | SUSE Communities

Compiler in the News: Advanced Optimization and New Capabilities of GCC 10


My colleague Martin Jambor has joined forces with Jan Hubička, Martin Liška, Richard Biener, all experts from our SUSE Labs and toolchain development team as well, and Brent Hollingsworth from AMD, to write a new SUSE Best Practices document about the GNU Compiler Collection (GCC) 10. Now we are happy to share that we recently published this paper on our documentation portal under the title “Advanced Optimization and New Capabilities of GCC 10”.

The focus of the document is on how to select appropriate optimization options for your application and stressing benefits of advanced modes of compilation. Although chapter two is aimed mostly at SUSE customers, the paper as a whole is definitely useful and interesting for any GCC user.



First, the document provides a very detailed overview of GCC 10 as the current Development Tools Module compiler in SUSE Linux Enterprise 15 SP2, and highlights its differences and advances in regard to previous GCC versions and some other compilers. Then, it describes the optimization levels the compiler offers, and other important options developers often use. In deep detail, it explains when and how you can benefit from using Link Time Optimization (LTO) and Profile Guided Optimization (PGO) builds. Finally, it takes a closer look at the effects these optimization levels and options have.


Case Studies

To this end, the document presents two example case studies:

  • Speeding up a big software project while shrinking it at the same time: Mozilla Firefox

If you want to dig a bit deeper now, just have a look yourself and enjoy reading the document!


Disclaimer: The text at hand has not been reviewed by a native speaker. If you find typos or language mistakes, please send them to me ( – or if you like them, just keep them and feed them. 

(Visited 1 times, 1 visits today)
Meike ChabowskiMeike Chabowski works as Documentation Strategist at SUSE. Before joining the SUSE Documentation team, she was Product Marketing Manager for Enterprise Linux Servers at SUSE, with a focus on Linux for Mainframes, Linux in Retail, and High Performance Computing. Prior to joining SUSE more than 20 years ago, Meike held marketing positions with several IT companies like defacto and Siemens, and was working as Assistant Professor for Mass Media. Meike holds a Master of Arts in Science of Mass Media and Theatre, as well as a Master of Arts in Education from University of Erlangen-Nuremberg/ Germany, and in Italian Literature and Language from University of Parma/Italy.