From: Eli Zaretskii 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: References: NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 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 Precedence: bulk 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.