delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/06/09:00:07

Path: news.mv.net!news.shore.net!newsfeed.mathworks.com!newsfeed.direct.ca!look.ca!paloalto-snh1.gtei.net!news.gtei.net!dfiatx1-snr1.gtei.net.POSTED!not-for-mail
From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gcc bug ?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <f1ccrs4csdck132sg7nt4ou8jl7qmc7dso@4ax.com>
References: <Hjnt5.401$Mf2 DOT 1680433 AT nnrp1 DOT proxad DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 27
X-Trace: /K49oEIlYu2w7o+/g3t/awiTibBhvSX2MxGlEuCRsSEQap5iThK+pIblDq5p6uAoClRS+wYX+21N!bIp/+G+iYgKnl9arkqRuN5ZjoqdmUaSh2cVpRrUf/Yjd7oKtM9PwrIq+jIb2ZOgVW2YjXIhioaGt!9Et+J0s=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 06 Sep 2000 12:03:04 GMT
Distribution: world
Date: Wed, 06 Sep 2000 12:03:04 GMT
Xref: news.mv.net comp.os.msdos.djgpp:103200

On Wed, 06 Sep 2000 08:33:43 GMT, "Davy" <davy AT free DOT fr> wrote:

>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.

Not a GCC bug.  You were using illegal syntax, and GCC 2.95.x
is a bit more strict about that than 2.8.x was.
  http://www.delorie.com/djgpp/v2faq/faq8_17.html
  http://egcs.cygnus.com/faq.html#asmclobber

-- 
MS (n)  1. A debilitating and surprisingly widespread affliction
  that renders the sufferer barely able to perform the simplest
  task.  2. A disease, multiple sclerosis (see).

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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