emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with library images on Windows (again)


From: Andreas Schwab
Subject: Re: Problem with library images on Windows (again)
Date: Wed, 18 May 2005 21:30:01 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> Now, when this happened before (with the local variable img) someone
> said that the MinGW libraries were not respecting calling conventions,
> but I'm not sure. Calling conventions for MSVC say that you cannot
> trust EAX, EBX, ECX, EDX, ESI, or EDI registers after a subroutine

That's quite different from the Unix calling conventions on i386, where
only EAX, ECX and EDX are call-clobbered.

> call, and AFAICS, the problem is that on optimized builds VC is
> expecting spec to still be cached in a register.

That appears like a blatant bug in the compiler if it cannot properly
track call-clobbered registers.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]