From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ae6d7754224e7cfb X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,ae6d7754224e7cfb X-Google-Attributes: gidfee84,public From: "Michael C. Grant" Subject: Re: horrible "cc -O" bug (DU 3.2c) Date: 1997/05/11 Message-ID: <5l6den$enc$1@nntp.Stanford.EDU>#1/1 X-Deja-AN: 241001223 References: <5kvqsu$18d$1@news.iastate.edu> <5l33qi$6fg$1@news.nyu.edu> X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0 Organization: Information Systems Laboratory, Stanford University Newsgroups: comp.unix.osf.osf1,comp.sys.dec >Any compiler code generation bug is "really disturbing". This has to be any >programmer's worst nightmare. The thought of doing any kind of software >developent on a compiler that isn't doing 100% rock-solid code generation >gives me the willies. I can live with slow code. I can live with missing >language features. I can live with parsers unable to handle arbitrarily >complex expressions. But if it compiles, I have to *know* it compiled >correctly. Sorry, I don't buy this. If you're serious about QA, you put release versions through their paces just like you put debug versions. People don't do line-by-line proofs that their million-line programs are bug-free---they do black-box testing. As such, bugs caused by compiler errors should be treated the same way as bugs in your code. Now that's not to say that you should ignore compiler quality, of course---but an occasional compiler bug is part of the game.