Xref: utzoo comp.unix.wizards:9121 comp.lang.c:10571 Path: utzoo!utgpu!water!watmath!clyde!ima!haddock!karl From: karl@haddock.ISC.COM (Karl Heuer) Newsgroups: comp.unix.wizards,comp.lang.c Subject: Re: C Compiler bugs (was Re: Speaking of ksh) Message-ID: <4421@haddock.ISC.COM> Date: 6 Jun 88 16:36:17 GMT References: <15085@tut.cis.ohio-state.edu> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Followup-To: comp.lang.c Organization: Interactive Systems, Boston Lines: 13 In article <15085@tut.cis.ohio-state.edu> lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) writes: >Following up from comp.unix.wizards are amusing C Compiler bugs: >Then there was the bug where if you had a structure declaration right before >main and forget to end it with a ; the program would core dump on exit: > struct blob { int a, b, c; } /* missing ; */ > main(argc, argv) ... Why should it be considered a "compiler bug" when a syntactically correct program containing a user bug dumps core? It seems to me that the appropriate "fix" is to make sure that lint complains about the mismatched declaration. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint Followups to comp.lang.c.