RHBA-2012:0941

Type: Bug fix
Severity: None
Published: 2012-06-20
Red Hat Enterprise Linux 6

The gcc packages include C, C++, Java, Fortran, Objective C, Objective C++, and Ada 95 GNU compilers, along with related support libraries. This update fixes the following bugs: * The gfortran compiler could fail to compile the code with an internal compiler error. This happened because the gfc_type_for_size() function from the trans-types.c library did not return the correct data type if the demanded bit precision was less than the built-in bit precision size of the corresponding type. With this update, the function returns the corresponding wider type if no suitable narrower type has been found and the code is compiled correctly. (BZ#751767) * The G++ compiler terminated unexpectedly with a segmentation fault and returned an internal compiler error when compiling with the -O2 or -O3 optimization option. This happened because the compiler tried to cancel the same loop twice in the remove_path() function. With this update, the loop is canceled only once and the segmentation fault no longer occurs in this scenario. (BZ#756138) * Previously, GCC could generate incorrect code if combining instructions when splitting a two-set pattern. This was due to an error in the way the split patterns were handled while combining the instructions. With this update, the code handling instruction combining has been fixed and the problem no longer occurs. (BZ#756651) * Previously, GCC could terminate unexpectedly with an internal compiler error, which was triggered by aggressive loop peeling enabled by the "-mtune=z10" setting when moving registers. With this update, the registers are determined from the instruction patterns correctly and the compilation succeeds in this scenario. (BZ#767604) * Typing into Web Console in Firefox caused Firefox to terminate unexpectedly. This happened because the compiler incorrectly cloned one of the functions called under these circumstances. With this update, the function is no longer cloned and the problem no longer occurs. (BZ#799491) In addition, this update adds the following enhancement: * Previously, the GCC compiler did not contain the header with functions for converting the half-float type. This update adds the header and also fixes GCC so that it works correctly with the "-march=native" option on AMD FX processor microarchitectures. (BZ#739443) All users of gcc are advised to upgrade to these updated packages, which fix these bugs and add this enhancement.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T22:48:10.777Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-27T22:48:10.777Z UTC. Last updated 2026-10-07T04:42:04.269Z UTC.

Upstream Advisory

Affected Packages

  • cpp 4.4.6-4.el6

  • gcc 4.4.6-4.el6

  • gcc-c++ 4.4.6-4.el6

  • gcc-gfortran 4.4.6-4.el6

  • gcc-gnat 4.4.6-4.el6

  • gcc-java 4.4.6-4.el6

  • gcc-objc 4.4.6-4.el6

  • gcc-objc++ 4.4.6-4.el6

  • libgcc 4.4.6-4.el6

  • libgcj 4.4.6-4.el6

  • libgcj-devel 4.4.6-4.el6

  • libgcj-src 4.4.6-4.el6

  • libgfortran 4.4.6-4.el6

  • libgnat 4.4.6-4.el6

  • libgnat-devel 4.4.6-4.el6

  • libgomp 4.4.6-4.el6

  • libmudflap 4.4.6-4.el6

  • libmudflap-devel 4.4.6-4.el6

  • libobjc 4.4.6-4.el6

  • libstdc++ 4.4.6-4.el6

  • libstdc++-devel 4.4.6-4.el6

  • libstdc++-docs 4.4.6-4.el6

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