From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1125fa,10b7a9a3731f3fc8 X-Google-Attributes: gid1125fa,public X-Google-Thread: fb9cd,10b7a9a3731f3fc8 X-Google-Attributes: gidfb9cd,public X-Google-Thread: f782f,10b7a9a3731f3fc8 X-Google-Attributes: gidf782f,public X-Google-Thread: 1164f8,10b7a9a3731f3fc8 X-Google-Attributes: gid1164f8,public From: "Ant Moore" Subject: Re: Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Date: 1997/12/17 Message-ID: <01bd0b07$f166ba80$8404a8c0@ant>#1/1 X-Deja-AN: 299055994 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: usenet@btinternet.com X-Trace: uranium.btinternet.com 882375926 5507 (None) 194.75.226.25 Organization: BT Internet X-Client-Address: 195.99.57.55 Newsgroups: comp.os.ms-windows.nt.admin.misc,comp.os.ms-windows.nt.advocacy,comp.sys.dec,comp.os.ms-windows.nt.misc Dirk Grunwald wrote in article ... > "Ant Moore" writes: > > Optimization doesn't have anything to do with "non-standard" coding > > practices. If the code is legal (in that it compiles) then the only > --- > > This is the root of your problem. Just because code compiles doesn't > mean it's 'legal'. Optimization can expose errors in your code due to > code movement, use of temporaries, differences in the memory layout -- > any number of things. If your code is 'correct', as opposed to > 'legal', these shouldn't matter. I accept that the definition of "legal" == "it compiles" is not particularly strong. But that is not the root of "my problem". My point is that sometimes optimizers *do* get it wrong. But they are not alone; even when not optimizing, compilers have been known to have bugs too. Why should the optimizer be any less bug-prone? Your point is valid too, of course. Before condemning the optimizer, it is worth investigating *why* the code has failed; it may indeed be that the code is not "correct", even though "legal" Or it may just be a compiler/optimizer fault, or a bug in a library... 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.