Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Yet another gcc optimizer bug? ;-)
@ 1997-01-12 21:05 Christian Czezatke
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Czezatke @ 1997-01-12 21:05 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-01-12 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.95.970112195437.813A-100000@udb.ceci.at>
1997-01-12 19:58 ` Yet another gcc optimizer bug? ;-) Richard Henderson
1997-01-12 21:05 Christian Czezatke

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