delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/14/05:29:07

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gcc-295 and inline ASM
Date: Thu, 14 Oct 1999 10:55:00 +0200
Organization: NetVision Israel
Lines: 13
Message-ID: <Pine.SUN.3.91.991014105215.26124O-100000@is>
References: <uC7N3.12510$j35 DOT 249667 AT newscontent-01 DOT sprint DOT ca>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 939891223 22978 199.203.121.2 (14 Oct 1999 08:53:43 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 14 Oct 1999 08:53:43 GMT
X-Sender: eliz AT is
In-Reply-To: <uC7N3.12510$j35.249667@newscontent-01.sprint.ca>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 12 Oct 1999, Jay wrote:

> Hi, I just recently upgraded DJGPP to the most current version, and
> everything work out fine except for any sources I use inline ASM in.
> What happens is I keep getting this error:
> 
> draw.c:6: Invalid `asm' statement:
> draw.c:6: fixed or forbidden register 0 (ax) was spilled for class AREG.

GCC now disallows invalid inline asm code that clobbers registers used
as input operands.  See http://egcs.cygnus.com/faq.html#asmclobber, for
more details about this.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019