From: Ross Biro (bir7@leland.Stanford.EDU)
Date: 06/15/92


From: bir7@leland.Stanford.EDU (Ross Biro)
Subject: Re: recompiling 0.96a with gcc 2.11c
Date: Mon, 15 Jun 1992 18:15:28 GMT

In article <1992Jun15.022122.23687@rock.concert.net> cole@concert.net (Derrick C. Cole) writes:
>In article <BpDzGM.2Jw@news.cso.uiuc.edu> thoth@uiuc.edu (Ben Cox) writes:
>># make
>>gcc -c -o string.o string.c
>>gcc: Internal compiler error: program cc1 got fatal signal 6
>>make: *** [string.o] Error 1
>>#

        I think this is caused by the compiler trying to use a
register for two thinks at once. I've found it tends to accompany
inline assembly. If you are having problems with it, it's best to
isolate the routine causing the problem, and then change and inline
assembly to use different registers (or correct the register
allocation section of the __asm__ statement.) I had one inline
statement that used only ax, and caused the problem; when I changed it
to use cx instead it went away.

        It is probably a bug in gcc as it comes from the FSF, and not
specific to the Linux port.

-- 
Ross Biro bir7@leland.stanford.edu 
Member League for Programming Freedom (LPF)
mail league@gnu.ai.mit.edu for information