On Wed, Jul 26, 2000 at 11:03:53PM -0400, James Juran wrote:
> Alexandre Julliard wrote:
> > 
> > CVSROOT:        /home/wine
> > Module name:    wine
> > Changes by:     [EMAIL PROTECTED]        00/07/26 12:04:54
> > 
> > Modified files:
> >         msdos          : dpmi.c
> > 
> > Log message:
> >         Avoid clobbering %ebx.
> 
> I'm still getting a compile error with the egcs included in Red Hat 6.1
> (egcs-2.91.66):
> 
> gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -fPIC -D__WINE__
> -D_REENTRANT -I/usr/X11R6/include
> -o dpmi.o dpmi.c
> dpmi.c: In function `DPMI_CallRMCBProc':
> dpmi.c:255: fixed or forbidden register 3 (bx) was spilled for class
> GENERAL_REGS.
> This may be due to a compiler bug or to impossible asm
> statements or clauses.
> make: *** [dpmi.o] Error 1

This happens even without -O2.

The reason for this is that the register allocation stage of earlier gccs
can't cope with that much registers passed into a single instruction.

-> We should make it an external, assembler, function and not inline it.

Ciao, Marcus

Reply via email to