Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!apollo!rehrauer From: rehrauer@apollo.HP.COM (Steve Rehrauer) Newsgroups: comp.sys.apollo Subject: Re: Casting bug in C compiler 68K Rev 6.7(316) Message-ID: <4ba54d7d.20b6d@apollo.HP.COM> Date: 17 Jul 90 14:50:00 GMT References: <1990Jul17.044917.20375@arp.anu.oz.au> Sender: root@apollo.HP.COM Reply-To: rehrauer@apollo.HP.COM (Steve Rehrauer) Organization: Hewlett-Packard Apollo Division - Chelmsford, MA Lines: 11 In article <1990Jul17.044917.20375@arp.anu.oz.au> peterf@arp.anu.oz.au (Peter Fletcher) writes: >There's a frustrating little bug in the Apollo 'c' compiler >which has been there since at least before Rev 6.6. The >following program should always output '65535', but if >compiled with no optimization, it gets the answer wrong. This has been fixed in CR1.0 (cc 6.8). -- >>"Aaiiyeeee! Death from above!"<< | (Steve) rehrauer@apollo.hp.com "Spontaneous human combustion - what luck!"| Apollo Computer (Hewlett-Packard)