Date: Tue, 24 Mar 1998 21:54:42 -0800 (PST) Message-Id: <199803250554.VAA20233@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Eli Zaretskii , Viktor Lundstrom , jasonp AT Glue DOT umd DOT edu From: Nate Eldredge Subject: Re: is this an inline asm bug? Cc: djgpp AT delorie DOT com Precedence: bulk At 01:14 3/24/1998 +0300, Eli Zaretskii wrote: >Well, `_farpokeXX' functions are implemented in inline assembly, and >they rely on GCC to reload any registers they clobber. See the header >. You might compare the code there with your version, >to see what exactly did you do differently. Perhaps there *is* a bug >in GCC, but it is only limited to certain registers and not to all of >them. Or perhaps you used a different constraint letter(s). Looking back at the original post, I suspect that case is related to the fact that (clobbered regs) + (regs requested with "r" constraint) > (regs available to GCC). Not that that excuses it generating bad code there; IMHO it should at least complain. Nate Eldredge eldredge AT ap DOT net