delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/07/28/16:15:18

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: assembly code of the "strange error" - program
Date: 28 Jul 2004 20:10:38 GMT
Lines: 20
Message-ID: <2mqfhuFplrrrU1@uni-berlin.de>
References: <WcpNc.640$zS6 DOT 86489 AT news02 DOT tsnz DOT net> <20040727070949 DOT 29244 DOT 00000306 AT mb-m19 DOT aol DOT com>
X-Trace: news.uni-berlin.de n2GaC+UGIFBNur9q+vC2jQo1EXEHZ2pqu3rOCG4uuPF3pWGlXQNCav6xAE
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sterten <sterten AT aol DOT com> wrote:

> how far am I allowed to go back, before gcc will crash ? 

Exactly zero bytes, but the question is quite nonsensical.  It's like
asking how much over the speed limit you may safely go before the
police will flag you down and fine you.

>  >int R[99]; // won't be initialised and will have different values

> I was told, they were set to zero ?

I told you that.  So go back to what I wrote, and you'll find I
explicitly said that this is only so in the very particular context of
your program, because you have all the definitions at file scope
(outside your single function, main()), where the rules are different.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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