Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christian Czezatke <e9025461@student.tuwien.ac.at>
Subject: Yet another gcc optimizer bug? ;-)
Date: Sun, 12 Jan 1997 20:05:00 -0100 (GMT+1)	[thread overview]
Message-ID: <ffd5bd838d123f1f17c43c52f4bb3638.axp-list@archive.invalid> (raw)

Hi!

I'm currently tinkering at the latest development version of LyX on
Linux/Alpha. gcc 2.7.2 (as it comes with RH 4.0) fails to compile one
file (lyxrc.C) when the "-O2" flag is specified: 

[ceci@udb src]$ make lyxrc.o
gcc -c -g -O2 -Wall -Wno-unused -ansi -I/usr/X11R6/include -I. -I.
-I../images lyxrc.C 
lyxrc.C: In method `int LyXRC::Read(class LString)':
lyxrc.C:717: internal error--unrecognizable insn:
(insn/i 474 471 5005 (set (reg:SI 160)
        (reg/v:DI 165)) -1 (insn_list 471 (nil))
    (expr_list:REG_DEAD (reg/v:DI 165)
        (nil)))
lyxrc.C:717: confused by earlier errors, bailing out
make: *** [lyxrc.o] Error 1

Compiling without the "-O2" works fine. Is this a "known bug" already? Any
advices on how to work around the bug? (gcc dies at the end of a function
that contains a very long "switch" statement, BTW).

    thanks,

    Christian

--------------------------------------------------------------------
| Christian Czezatke, Student of Computer Science at the Vienna    |
| University Of Technology. -- Also hacking around with Linux and  |
| ACAD for fun and for profit.                                     |
--------------------------------------------------------------------
 Our continuing mission: To seek out knowledge of C, explore
 strange Un*x commands, to boldly code where no-one has manpage 4.
            - The Linux Programer's Guide

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-01-12 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-12 21:05 Christian Czezatke [this message]
     [not found] <Pine.LNX.3.95.970112195437.813A-100000@udb.ceci.at>
1997-01-12 19:58 ` Yet another gcc optimizer bug? ;-) Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox