Novell is now a part of Micro Focus

Bugfix update for GCC

Knowledgebase

(Last modified: 16MAY2002)


solutions Bugfix update for GCC SuSE Linux Maintenance Web (3c7c7ddff66fff2cfbb2d0363161fe0d)

Applies to

Product(s): SuSE Linux Enterprise Server 7 for S/390 and zSeries

Package: gcc
cpp
Release: 20020516
Obsoletes: none

Indications

Everybody using the GNU C compiler (gcc) should install this patch.

Contraindications

None.

Problem description

The following problems regarding gcc have been fixed by using IBM patches gcc-2.95.3-s390-3.tar.gz (IBM code drop 2002-03-18) and gcc-2.95.4-4.tar.gz:
  • Incorrect code generated by the loop optimizer. In some very rare cases the strength reduction pass would generate incorrect code.
  • Application crashes when throwing an exception. In functions using variable argument lists DWARF-2 information used by the exception handling unwinding code was incorrectly generated causing an abort of the application.
  • Internal compiler error on long long multiplications for 31-bit target
  • 64-bit instructions generated on 31-bit (tmll instructions in 31-bit assembler code)
  • Incorrect code generated due to using ADD instruction instead of LOAD ADDRESS for pointer computation.
  • Incorrect code generated by inline memcpy
  • Dead code elimination for complex switch statements removes code following the switch statement as well when all cases prove to contain dead code.
  • Internal compiler error "unrecognized insn" due to illegal address constants.

Solution

Please install the updates provided at the location noted below.

Installation notes

This update is provided as RPM packages that can easily be installed onto a running system by using this command:
rpm -Fvh gcc.rpm cpp.rpm
If you are using the GNU C++ (g++, package gpp) compiler you additionally need to apply the patch described in maintenance article "Bugfix update for gpp" (http://sdb.suse.de/en/psdb/html/f5bf8fd7507d615027b8c7ff5fbd8ac1.html).

links to download packages

Download Source Packages

Download the source code of the patches for maintained products.


Disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.

Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.

© Copyright Micro Focus or one of its affiliates