Marek Polacek

Marek Polacek's contributions

Featured image for: Value range propagation in GCC with Project Ranger.
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.

Featured image for: Value range propagation in GCC with Project Ranger.
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.

Featured image for: Value range propagation in GCC with Project Ranger.
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.

Featured image for: Report from the virtual ISO C++ meetings in 2020 (core language).
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.

Red Hat Wimplicit
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...

GNU C library
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...