[Top] [All Lists]

-O2 in gcc 2.96 buggy?

To: Linux MIPS <>
Subject: -O2 in gcc 2.96 buggy?
From: Torsten Weber <>
Date: Thu, 17 Jan 2002 13:25:57 +0100
Organization: HHI
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
       > (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?


Torsten Weber                    Heinrich-Hertz-Institut fuer
E-Mail:           Nachrichtentechnik Berlin GmbH

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