From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiler optimization bug Date: 12 Dec 1999 13:47:35 -0800 Organization: InterWorld Communications Lines: 14 Message-ID: <834sdnomq0.fsf@mercury.st.hmc.edu> References: <830aq2$68s$1 AT news-int DOT gatech DOT edu> NNTP-Posting-Host: mercury.st.hmc.edu X-Trace: nntp1.interworld.net 945035330 54973 134.173.45.219 (12 Dec 1999 21:48:50 GMT) X-Complaints-To: usenet AT nntp1 DOT interworld DOT net NNTP-Posting-Date: 12 Dec 1999 21:48:50 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Robert Ruehlmann writes: > I think I've found a bug in the DJGPP compiler (gcc 2.95.2). When optimized > with -O2 the following small sample program goes into an infinite loop. > Debugging with gdb shows strange behaviour like modifications of the 'size' > variable. Yes, looks like a bug all right. Please report it via the appropriate channels (see the GCC info manual). -- Nate Eldredge neldredge AT hmc DOT edu