Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!ulysses!ulysses.att.com!ekrell From: ekrell@ulysses.att.com (Eduardo Krell) Newsgroups: comp.software-eng Subject: Re: Errors aren't that simple Message-ID: <12647@ulysses.att.com> Date: 2 Mar 90 16:51:13 GMT References: <12643@ulysses.att.com> <8201@hubcap.clemson.edu> Sender: netnews@ulysses.att.com Organization: AT&T Bell Labs Lines: 15 In article <8201@hubcap.clemson.edu> billwolf%hazel.cs.clemson.edu@hubcap.clemson.edu writes: > The crash apparently was caused by a programmer who used a "break" > within an if (which itself was within a switch) for the purpose of > exiting the if; the real result was to exit the switch instead. From what I've heard, the problem was with a "break" statement followed by dead code (which was critical). If that's the case, you can blame that particular C compiler for not issuing a warning (some of them do) or the testers for not exercising the code, but you can't blame C because the same thing would have hapenned in, say, Ada. Eduardo Krell AT&T Bell Laboratories, Murray Hill, NJ UUCP: {att,decvax,ucbvax}!ulysses!ekrell Internet: ekrell@ulysses.att.com