Path: utzoo!attcan!uunet!dptechno!dave From: dave@dptechno.UUCP (Dave Lee) Newsgroups: comp.sys.hp Subject: Re: Optimizer bug in cc(1) on HP9000/835 Keywords: Internal error Message-ID: <585@dptechno.UUCP> Date: 21 Sep 90 16:38:57 GMT References: <1990Sep19.210628.10847@nmt.edu> Reply-To: dave@dptechno.UUCP (Dave Lee) Organization: D.P. Technology Corp. Camarillo California Lines: 53 In article <1990Sep19.210628.10847@nmt.edu> dwho@jupiter.nmt.edu (David Olix) writes: >Problem: Optimizer bug in cc(1). >System: HP9000/835 running HP-UX 7.0 >Compiler ID: HP92453-01 A.07.10 HP C Compiler > >% cat ccbug.c >main() >{ > char *p; > int i; > > i = 0; > *(p = i - i); >} >% cc -v -O ccbug.c >/lib/cpp ccbug.c /tmp/ctmAAAa20274 -D__hp9000s800 -D__hppa -D__hpux -D__unix >cc: Entering Preprocessor. >/lib/ccom /tmp/ctmAAAa20274 ccbug.o -O2 -v -Ac >cc: Entering Scanner and Parser. >cc: Entering Semantic Analyzer. >cc: Entering Aliaser. >cc: Internal error 3277: Investigation required - Please contact HP Support. >% I am unable to reproduce this bug on my 9000/345 uname -a says HP-UX davesys 7.0 B 9000/375 davesys Box says 9000 345. cc -v -O ccbug.c ccbug.c: /lib/cpp ccbug.c /tmp/ctm4DAAa05103 /lib/cpass1 -Yo /tmp/ctm4DAAa05103 /tmp/ctm1AAAa05103 "ccbug.c", line 7: warning: incorrect combination of pointer and integer, op = /lib/c1 /tmp/ctm1AAAa05103 /tmp/ctm2BAAa05103 /lib/cpass2 /tmp/ctm2BAAa05103 /tmp/ctm5EAAa05103 /lib/c2 /tmp/ctm5EAAa05103 /tmp/ctm3CAAa05103 /bin/as20 -o ccbug.o /tmp/ctm3CAAa05103 /bin/ld /lib/crt0.o ccbug.o -x -lc Everything OK. This must be a 800 series problem I have no Idea where to get the "Compiler ID" from -- Dave Lee uunet!dptechno!dave