Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

1.32. gcc44

1.32.1. RHBA-2011:0102: bug fix update

Updated gcc44 packages that fix several bugs are now available.
The gcc44 packages provide the GNU Compiler Collection (GCC), which includes GNU compilers and related support libraries for C, C++, and Fortran programming languages. These packages also include libgomp, the GNU implementation of the OpenMP Application Programming Interface for multi-platform shared-memory parallel programming.
These updated gcc44 packages provide fixes for the following bugs:
* Prior to this update, irregularities in the debuginfo package prevented the user from seeing local variables in a debugger. This was caused by overlapping entries in the '.debug_ranges' variable. This update fixes the aforementioned issue so that using a debbuger now works as expected. ( BZ#510958)
* Under certain circumstances, compiling a program with g++ caused a segmentation fault. This was caused by a flaw in the 'dynamic_cast' code. With this update, the aforementioned fault has been fixed and the crash no longer occurs. ( BZ#519517)
* A common block thread private variable was out of scope inside the OpenMP parallel region. Since the variable was thread private, it should have pointed to different addresses in each of the different threads in the common block, but, failed to do so. The variable also exposed a different error where the address of the variable could not be found by gdb. This update fixes the aforementioned flaws. ( BZ#533183)
* Under certain circumstances, compiling with the "g++44 -m32 -O2" command on Red Hat Enterprise Linux 5.4 resulted in the following error:
internal compiler error: in emit_swap_insn, at reg-stack.c:827
This update fixes the issue above, and compilation now works as expected. ( BZ#548384)
* Compiling certain programs with the '-O2' option resulted in the following error:
error: unable to find a register to spill in class
This error is no longer returned with this update, and the operation now completes as expected. ( BZ#558549)
* Passing a variable reference of type 'const' to a function caused the compiler to crash and return an error. This update fixes the flaw in the code so that passing variable references now works as expected. ( BZ#593060)
* A certain test case did not compile due to the xor instructions in the code being optimized out. With this update, the aforementioned issue has been fixed and no longer occurs. ( BZ#593117)
Users are advised to upgrade to these updated gcc44 packages, which resolve these issues.