linux-mips
[Top] [All Lists]

-O2 in gcc 2.96 buggy?

To: Linux MIPS <linux-mips@oss.sgi.com>
Subject: -O2 in gcc 2.96 buggy?
From: Torsten Weber <t.weber@hhi.de>
Date: Thu, 17 Jan 2002 13:25:57 +0100
Organization: HHI
Sender: owner-linux-mips@oss.sgi.com
On a RedHat 7.1 installation I compiled gawk (3.1.0),  but gawk crashed
(gawk couldn't run glibc-2.2.4/scripts/firstversions.awk, it resulted
in:
       > (FILENAME=- FNR=1) fatal error: internal error
       > Aborted (core dumped)
)
The gawk problem disappeares if I compile without optimizing with -O2
(i.e. optimizing with -O works).

gcc version is 2.96 20000731 (Red Hat Linux 7.1 2.96-99.1)

Is this problem already known, or where is my mistake?

Thanks.

---------------------------------------------------------------
Torsten Weber                    Heinrich-Hertz-Institut fuer
E-Mail: t.weber@hhi.de           Nachrichtentechnik Berlin GmbH
---------------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>