X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker 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: <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 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.