🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #1793

Re: Compiler Bug

#1793
From: Jim Gettys
Date: Tue, 31 Jul 1990 13:37
18 lines
912 bytes
Very strange. On my 4.0 system (almost, anyway; we don't
have the final patches installed) I get:
zorch % cc bug.c
zorch % a.out
2000 * 4 / 244.000000 = 32
zorch % cc -O2 bug.c
zorch % a.out
2000 * 4 / 244.000000 = 32
zorch % cc -O3 bug.c
zorch % a.out
2000 * 4 / 244.000000 = 32
zorch % cc -O4 bug.c
zorch % a.out
2000 * 4 / 244.000000 = 32

Are you sure you did your tests on the systems you thought
you did?
				- Jim
Technical Details
Message-ID: <1990Jul31.133726.23555@crl.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!bacchus.pa.dec.com!deccrl!jg
References: <3152@rwthinf.UUCP> <5889@crltrx.crl.dec.com> <327@sun13.scri.fsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!bacchus.pa.dec.com!deccrl!jg
From: jg@crl.dec.com (Jim Gettys)
Newsgroups: comp.sys.dec
Subject: Re: Compiler Bug
Message-ID: <1990Jul31.133726.23555@crl.dec.com>
Date: 31 Jul 90 13:37:26 GMT
References: <3152@rwthinf.UUCP> <5889@crltrx.crl.dec.com> <327@sun13.scri.fsu.edu>
Sender: news@crl.dec.com (USENET News System)
Reply-To: jg@crl.dec.com (Jim Gettys)
Distribution: na
Organization: DEC Cambridge Research Lab
Lines: 18