Path: utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!miro.Berkeley.EDU!gregc From: gregc@miro.Berkeley.EDU (Greg Couch) Newsgroups: comp.sys.hp Subject: C compiler / Assembler bugs on HP 9000/300 Message-ID: <23519@ucbvax.BERKELEY.EDU> Date: 5 Apr 88 01:53:51 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: gregc@miro.Berkeley.EDU (Greg Couch) Organization: University of California, Berkeley Lines: 25 Below is a short program that demonstrates bugs that were found when porting a program to the HP. I'm running HP-UX 6.0.1 and the same bugs occured under HP-UX 5.5. Is there an e-mail place we can send bugs to, like Berkeley's 4bsd-bugs@Berkeley.EDU? - Greg Couch gregc@miro.Berkeley.EDU gregc@Berkeley.EDU ----- main() { char *a, *b, *c; float f, g; # ifdef compbug /* this generates a compiler error */ if ((float) (a - b) * 10.0 < (float) (a - c)) ; # else /* assembug */ /* this generates an assembler error */ if ((float) (a - b) * 10.0 < (float) (f = (a - c))) ; # endif }