Juanma Barranquero <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
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."


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to