Path: utzoo!attcan!lsuc!maccs!nusip From: nusip@maccs.McMaster.CA (Mike Borza) Newsgroups: comp.sys.intel Subject: Re: PLM vs. C for 80286/80386 Keywords: PLM C Message-ID: <2760@maccs.McMaster.CA> Date: 21 Jun 89 03:09:46 GMT References: <598@philtis.UUCP> <14381@bfmny0.UUCP> <1765@auspex.auspex.com> <14386@bfmny0.UUCP> <231@guardian.UUCP> Reply-To: nusip@maccs.UUCP (Mike Borza) Organization: McMaster U., Hamilton, Ont., Can. Lines: 17 In article <231@guardian.UUCP> alfred@.UUCP (Alfred Huang) writes: >Intel iC-n86 compilers are capable of generating three different kind of >code for the "switch" statement. Normally, we generate simple if-then-else Great. Was this compiler written by the same bozos who wrote the MS-DOS C cross-compiler for the '196? That one gracefully generates syntax errors for `unsigned int foo();' within function bodies. It fares better for `unsigned int bar;' within a function; it saves its errors for incorrect code generation, conveniently throwing away the desired result of an assignment and saving garbage instead. Beauty, eh? mike borza, Antel Optronics Inc. -- Michael Borza work: Antel Optronics Inc. home: (416)335-5507 occasionally: 3325B Mainway, Burlington, Ont., Canada L7M 1A6