Marek Polacek
Marek Polacek's contributions
Article
New C++ features in GCC 13
Get an overview of what's new in GCC 13, the latest GNU Compiler Collection release, including bug fixes and new features in the C++ front end.
Article
New C features in GCC 13
The GNU Compiler Collection 13 release implemented a number of interesting features in its C front-end. This article summarizes the most interesting ones.
Article
New C++ features in GCC 12
Version 12 of GCC implements much of the recent C++ standard, allows a number of previously prohibited constructs, and fixes some problematic behaviors.
Article
Porting your code to C++17 with GCC 11
C++17 is now the default version in the GNU Compiler Collection. Find out what you need to know when updating your code to C++17 with GCC 11.
Article
New C++ features in GCC 10
Explore the front end-based C++ features that C++ application programmers care most about in GCC 10.1 (G++ 10.1), which include many C++20 proposals.
Article
Understanding when not to std::move in C++
New warnings have been added to GCC 9 that can help with wrong or redundant usage of std::move in C++ code. Learn how to enable them.
Article
-Wimplicit-fallthrough in GCC 7
(See this article to install GCC 7 on Red Hat Enterprise Linux.) In C and C++, the cases of a switch statement are in fact labels, and the switch is essentially a go to that jumps to the desired label. Since labels do not change the flow of control, one case block falls through to the following case block, unless terminated by a return , a break , a no return call or similar. In the example below, " case...
Article
Testing GCC in the wild
Currently, the GCC testsuite contains more than fifty thousand tests which make up to two million lines of code. Since we, the GCC developers, try hard to avoid regressions in the compiler, almost every change to the compiler or to a related library requires a new test or a set of tests to be added. Hence the internal testsuite keeps growing at a rapid pace. It goes without saying that a new change should not break any existing test. Despite...

New C++ features in GCC 13
Get an overview of what's new in GCC 13, the latest GNU Compiler Collection release, including bug fixes and new features in the C++ front end.

New C features in GCC 13
The GNU Compiler Collection 13 release implemented a number of interesting features in its C front-end. This article summarizes the most interesting ones.

New C++ features in GCC 12
Version 12 of GCC implements much of the recent C++ standard, allows a number of previously prohibited constructs, and fixes some problematic behaviors.

Porting your code to C++17 with GCC 11
C++17 is now the default version in the GNU Compiler Collection. Find out what you need to know when updating your code to C++17 with GCC 11.

New C++ features in GCC 10
Explore the front end-based C++ features that C++ application programmers care most about in GCC 10.1 (G++ 10.1), which include many C++20 proposals.

Understanding when not to std::move in C++
New warnings have been added to GCC 9 that can help with wrong or redundant usage of std::move in C++ code. Learn how to enable them.

-Wimplicit-fallthrough in GCC 7

Testing GCC in the wild