GCC6 Is Bringing More Helpful Warnings For Developers
Written by Michael Larabel in Compiler on 15 February 2016 at 08:18 AM EST. 10 Comments
COMPILER --
While Clang has long been talked about as producing better warnings/errors and diagnostics than the GNU Compiler Collection, the GCC developers have been ramping up their error/warning reporting to be more helpful to developers in debugging compile-time issues. GCC 5 had brought a number of improvements on this front while GCC 6 will be even more helpful.

Red Hat developer Mark Wielaard has written a blog post covering many of the new warnings to GCC 6.

Among the possible new warnings is for code with duplicated logic, bit shifting with negative values, a bit shift overflow, a possible warning against dereferencing a null pointer, unused side effects, and other warning improvements.

GCC 6 will likely be released around late March with a plethora of improvements that have built up in this open-source compiler stack over the past year. We've been running many GCC 6 benchmarks and feature articles already while more will come in the lead-up to the official GCC 6.1 release.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Compiler News
Popular News