Xref: utzoo comp.unix.wizards:9102 comp.lang.c:10560 Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!gatech!bloom-beacon!tut.cis.ohio-state.edu!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.unix.wizards,comp.lang.c Subject: C Compiler bugs (was Re: Speaking of ksh) Message-ID: <15085@tut.cis.ohio-state.edu> Date: 5 Jun 88 12:03:21 GMT Organization: The Ohio State University Dept of CIS Lines: 18 References: 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) ... This is also on old 3B compilers, fixed on newer ones. -- Larry Cipriani, AT&T Network Systems and Ohio State University Domain: lvc@tut.cis.ohio-state.edu Path: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc (strange but true)