🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1183

Re: Lattice C 5.02 BUGS

#1183
From: Chuck McManis
Date: Fri, 08 Sep 1989 21:57
24 lines
1547 bytes
In article <142@vsserv.scri.fsu.edu> (Prem Subrahmanyam) writes:
->    This is a serious bug I've discovered while working with 
->    DBW_Render.  The two following statements should be the same,
->    right?
->
->    for (i=0; i < something; i++)
->	/* insert command to loop here */ ;
->
->    for (i=0; i < something; i++) {
->	/* same command as before */ ;
->	}

This works fine for me. Are you using the optimizer on this code? There
are some serious optimizer bugs that got fixed in 5.04 (which is due
out RSN according to Jtoebes at a recent BADGE meeting) and to get the
update will require that you call Lattice and ask for it. 

Can you at least give compiler switches you used and maybe make a small
test case that demonstrates the problem ?

--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
"If I were driving a Macintosh, I'd have to stop before I could turn the wheel."
Technical Details
Message-ID: <124370@sun.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!newstop!sun!pepper!cmcmanis
References: <2023@softway.oz> <142@vsserv.scri.fsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!newstop!sun!pepper!cmcmanis
From: cmcmanis%pepper@Sun.COM (Chuck McManis)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Lattice C 5.02 BUGS
Keywords: Here's another one for your viewing pleasure
Message-ID: <124370@sun.Eng.Sun.COM>
Date: 8 Sep 89 21:57:55 GMT
References: <2023@softway.oz> <142@vsserv.scri.fsu.edu>
Sender: news@sun.Eng.Sun.COM
Reply-To: cmcmanis@sun.UUCP (Chuck McManis)
Organization: Sun Microsystems, Mountain View
Lines: 24