Red Hat Training

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

1.39. gcc

1.39.1. RHBA-2011:1029: gcc bug fix update

Updated gcc packages that fix three bugs are now available for Red Hat Enterprise Linux 5.
The gcc packages provide compilers for C, C++, Java, Fortran, Objective C, and Ada 95 GNU, as well as related support libraries.
This update fixes the following bugs:
* Prior to this update, aliasing problems could occur when the wrong value type was used for reading the vtable. Due to these problems, the pointer-to-member handling in the C++ frontend could cause miscompilations. This update accesses the correct value type. (BZ#630893)
* Prior to this update, the debug information wrongly indicated that a variable with Named Return Value (NRV) was located in a certain register when only its address was located in the register. With this update, the source code is modified so that the debug information contains the correct information. (BZ#660302)
* Prior to this update, gcc-c++ produced redundant duplicate entries in the dwarf debug information for class variables with virtual functions. This update modifies the code so that class variables are entered only once. (BZ#660305)
All GCC users are advised to upgrade to these updated packages, which fix these bugs.