RHBA-2015:2080

Type: Bug fix
Severity: None
Published: 2015-11-19
Red Hat Enterprise Linux 7

The gcc packages provide compilers for C, C++, Java, Fortran, Objective C, and Ada 95 GNU, as well as related support libraries. The gcc packages have been upgraded to upstream version 4.8.5, which provides a number of bug fixes and enhancements over the previous version. This update fixes the following bugs: * Previously, GCC incorrectly assumed that the order of array elements in memory depended on endianness. As a consequence, the compiler could produce incorrect code on the IBM POWER8 little endian architecture when extracting the second doubleword of a V2DF or V2DI vector from memory. This bug has been fixed, and the compiler now generates correct code. (BZ#1206341) * GCC version 4.8 introduced support for IBM POWER8, which, among other things, included support for cryptography instructions controlled by the "-m[no-]crypto" command-line option. Previously, this option also incorrectly affected the availability of instructions that were unrelated to cryptography. This bug has been fixed, and the option now controls code generation of instructions flagged only as "Category:Vector.Crypto". (BZ#1200335) * A bug in TLS handling on 32-bit Intel and AMD architectures caused that the compiler was trying to use %gs: or %fs: segment registers with the Load Effective Address (LEA) instruction. Consequently, an unexpected termination could occur in code with __thread arrays of structures or long long integers. This bug has been fixed, and the code compiles correctly. (BZ#1212265) * Previously, GCC could generate wrong code from code that passed a union data type with a signed and an unsigned integer between two functions as a parameter. The compiler could incorrectly insert the __builtin_unreachable call into a codepath in the program that was, in fact, reachable, which resulted in an unexpected termination. This bug in the IPA inline analysis has been fixed, and GCC now generates correct code also in the described scenario. (BZ#1217267) * Prior to this update, GCC was unable to perform vector swap removal optimization in cases where there was a vector converted from double-precision to single-precision followed by a vector splat word. This bug has been fixed, and the compiler is now able to optimize out vector swaps. (BZ#1200336) In addition, this update adds the following enhancements: * The compiler now generates improved code for unaligned vector loads and stores on the IBM POWER8 architecture. (BZ#1199221) * GCC's vector performance has been improved for IBM POWER8 little endian. It has been achieved by implementing a new compiler optimization that removes useless swap operations. This improvement has an effect only on little endian machines, and it works only for computations in which all vector operations are lane-insensitive. (BZ#1208103) Users of gcc are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T23:18:25.555Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T23:18:25.555Z UTC. Last updated 2026-10-07T09:16:22.791Z UTC.

Upstream Advisory

Affected Packages

  • cpp 4.8.5-4.el7

  • gcc 4.8.5-4.el7

  • gcc-c++ 4.8.5-4.el7

  • gcc-gfortran 4.8.5-4.el7

  • gcc-gnat 4.8.5-4.el7

  • gcc-go 4.8.5-4.el7

  • gcc-objc 4.8.5-4.el7

  • gcc-objc++ 4.8.5-4.el7

  • gcc-plugin-devel 4.8.5-4.el7

  • libasan 4.8.5-4.el7

  • libasan-static 4.8.5-4.el7

  • libatomic 4.8.5-4.el7

  • libatomic-static 4.8.5-4.el7

  • libgcc 4.8.5-4.el7

  • libgfortran 4.8.5-4.el7

  • libgfortran-static 4.8.5-4.el7

  • libgnat 4.8.5-4.el7

  • libgnat-devel 4.8.5-4.el7

  • libgnat-static 4.8.5-4.el7

  • libgo 4.8.5-4.el7

  • libgo-devel 4.8.5-4.el7

  • libgo-static 4.8.5-4.el7

  • libgomp 4.8.5-4.el7

  • libitm 4.8.5-4.el7

  • libitm-devel 4.8.5-4.el7

  • libitm-static 4.8.5-4.el7

  • libmudflap 4.8.5-4.el7

  • libmudflap-devel 4.8.5-4.el7

  • libmudflap-static 4.8.5-4.el7

  • libobjc 4.8.5-4.el7

  • libquadmath 4.8.5-4.el7

  • libquadmath-devel 4.8.5-4.el7

  • libquadmath-static 4.8.5-4.el7

  • libstdc++ 4.8.5-4.el7

  • libstdc++-devel 4.8.5-4.el7

  • libstdc++-docs 4.8.5-4.el7

  • libstdc++-static 4.8.5-4.el7

  • libtsan 4.8.5-4.el7

  • libtsan-static 4.8.5-4.el7

Interested in being alerted when there are new versions of cpp and the other packages? Set up an alert.
RHBA-2015:2080: gcc bug fix and enhancement update | Package Alert