Slashdot Mirror


GCC 5.1 Released

kthreadd writes: Version 5.1 of GCC, the primary free software compiler for GNU and other operating systems, has been released. Version 5 includes many changes from the 4.x series. Starting with this release the default compiler mode for C is gnu11 instead of the older gnu89. New features include new compiler warnings, support for Cilk Plus. There is a new attribute no_reorder which prevents reordering of selected symbols against other such symbols or inline assembler, enabling link-time optimization of the Linux kernel without having to use -fno-toplevel-reorder. Two new preprocessor directives have also been added, __has_include and __has_include_next, to test the availability of headers. Also, there's a new C++ ABI due to changes to libstdc++. The old ABI is however still supported and can be enabled using a macro. Other changes include full support for C++14. Also the Fortran frontend has received some improvements and users will now be able to have colorized diagnostics, and the Go frontend has been updated to the Go 1.4.2 release.

1 of 78 comments (clear)

  1. No disrespect to GCC, but why not LLVM? by DoofusOfDeath · · Score: -1, Offtopic

    Given the nice, modular nature of LLVM, I would think even the GCC developers would find it to be a more enjoyable best to work on.

    Any idea why most GCC developers don't simply port their front-ends / back-ends of choice to LLVM, and walk away from GCC?

    I know there's the licensing issue, which I assume matters to some heavy-duty OSS advocates. But in my experience most programmers who work with OSS aren't super passionate about GPL vs. Berkeley -style licensing.