delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/06/22:15:13

From: "Davy" <davy AT free DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: gcc bug ?
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <Hjnt5.401$Mf2.1680433@nnrp1.proxad.net>
Date: Wed, 06 Sep 2000 08:33:43 GMT
NNTP-Posting-Host: 195.146.235.2
X-Complaints-To: abuse AT proxad DOT net
X-Trace: nnrp1.proxad.net 968229223 195.146.235.2 (Wed, 06 Sep 2000 10:33:43 MEST)
NNTP-Posting-Date: Wed, 06 Sep 2000 10:33:43 MEST
Organization: Guest of ProXad - France
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

when a build my C app with gcc2952, i receive this error message :

poly1.c: In function `main':
poly1.c:87: warning: return type of `main' is not `int'
poly1.c:240: Invalid `asm' statement:
poly1.c:240: fixed or forbidden register 2 (cx) was spilled for class CREG.
poly1.c:319: Invalid `asm' statement:
poly1.c:319: fixed or forbidden register 2 (cx) was spilled for class CREG.

but when i build it with an old gcc version (281), it works correctly.

Is there anyone who know this problem ? bug ?

Thanks.

--
Davy.


- Raw text -


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