lkml.org 
[lkml]   [1997]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: egcs-2.90.1[5-7] crash on __asm__, i586-pc-linux-gnulibc1
Date
From
Myrdraal <myrdraal@jackalz.dyn.ml.org> said:
> On Sun, Nov 16, 1997 at 09:37:37PM -0300, Horst von Brand wrote:
> > I've got the above egcs versions (sorry, no earlier ones to check here),
> > compiled with -O2 -fomit-frame-pointer -mpentium.

> > The compiler crashes on the file .../arch/i386/kernel/process.c from
> > linux-2.1.64, but doesn't on linux-2.1.63-VGER-CVS971112. I've managed to
> > strip down the files to the following minimal examples, which crash
> > "gcc -c testfile.c". In the original, pa is gdt and the offending function
> > is flush_thread:
> I can duplicate that problem both on process.c and your test file:
> -----
> (root@jackalz):/usr/src/linux/arch/i386/kernel# gcc -D__KERNEL__ -o process.o p
> rocess.c
> process.c: In function `flush_thread':
> process.c:469: fixed or forbidden register was spilled.
> This may be due to a compiler bug or to impossible asm
> statements or clauses.
> -----
> Is that what you meant by crash?

Yes. And the testcase is distilled from there.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.034 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site