From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb9cd,10b7a9a3731f3fc8 X-Google-Attributes: gidfb9cd,public X-Google-Thread: 1164f8,10b7a9a3731f3fc8 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1125fa,10b7a9a3731f3fc8 X-Google-Attributes: gid1125fa,public X-Google-Thread: f782f,10b7a9a3731f3fc8 X-Google-Attributes: gidf782f,public From: "Ant Moore" Subject: Re: Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Date: 1997/12/18 Message-ID: <01bd0b9f$56ac9b20$8404a8c0@ant>#1/1 X-Deja-AN: 299300788 Content-Transfer-Encoding: 7bit References: <34915AEE.41C6@atlas.cheme.cornell.edu> <3491F2D7.28E3@videotron.ca> <3491FFE2.E1D71B82@cgocable.net> <66u8pn$833@usenet.srv.cis.pitt.edu> <3492CA68.16C7916C@cgocable.net> <34955C3B.167E@atlas.cheme.cornell.edu> <01bd0a54$17733a00$8404a8c0@ant> <34980322.288D@star.enet.dec.com> Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: usenet@btinternet.com X-Trace: plutonium.btinternet.com 882440891 20236 (None) 194.75.226.24 Organization: BT Internet X-Client-Address: 195.99.61.169 Mime-Version: 1.0 Newsgroups: comp.os.ms-windows.nt.admin.misc,comp.os.ms-windows.nt.advocacy,comp.sys.dec,comp.os.ms-windows.nt.misc Joshua Cope wrote in article <34980322.288D@star.enet.dec.com>... > "Internal program timing" isn't the only programming error that can > come out of the woodwork when optimization is enabled. Another > is that uninitialized variables "break" more often in optimized code. > I saw one of these a couple of weeks ago - the program worked great > until we used /OPTIMIZE; it turned out that it assumed an > uninitialized counter started out at zero. The "internal timings" reference was an illustration, not an exhaustive list. Your example is simply an error in the source code. I have no problem when an optimizer exposes such errors. If a programmer makes such assumptions as your example in his source code, then he deserves all he gets. > Just because a problem happens (only) in optimized builds doesn't > mean there's a bug in the optimizer. It just means more investigation > is required. Agreed. But in such an investigation, one shouldn't assume that the compiler/optimizer is blameless! > (And if there is a bug and you want it fixed, please report > it along with a short reproducer program!) I do. Cheers, Ant. (Tamworth, England) -- "... Make me one with everything." The Dalai Lama at a hotdog stand. My e-mail address is disguised. Remove .nospam to reply.