David Malcolm

David Malcolm's contributions

Featured image for: Value range propagation in GCC with Project Ranger.
Article

Prevent Trojan Source attacks with GCC 12

David Malcolm

Discover how Red Hat protects GCC 12 code from Trojan Source attacks. Learn how we defend our customers against this recent software vulnerability.

Featured image: Static analysis updates in GCC 11
Article

Static analysis updates in GCC 11

David Malcolm

Get an overview of fixes and enhancements to the -fanalyzer static analysis pass, currently being updated for security, state tracking, and more in GCC 11.

Static analysis in GCC 10 image
Article

Static analysis in GCC 10

David Malcolm

Discover the new -fanalyzer option coming to GCC 10 that provides a static analysis pass to identify problems at compile-time, rather than at runtime.

GNU C library
Article

Usability improvements in GCC 9

David Malcolm

The upcoming GCC 9 release will have improved diagnostic messages, simpler C++ errors, more accurate error location reporting, and optional machine readable output for developer tools.

GNU C library
Article

Usability improvements in GCC 8

David Malcolm

This article summarizes work that was done to make GCC 8 more usable by providing easier to understand warning and error messages. Many of these improvements will help you quickly recognize those common silly mistakes.

GNU C library
Article

Testing... Testing... GCC

David Malcolm

The next release of the GNU Compiler Collection , GCC 7 , is fast approaching, so in this post, I'm going to talk about work I've done to make GCC more reliable GCC has a large test suite: when I test a patch, roughly 330,000 tests are run, covering various aspects of the compiler, such as: handling valid and invalid syntax in the front-ends verifying that optimizations passes are run verifying that the resulting code runs correctly verifying that the...