[1040] in Athena Bugs

home help back first fref pref prev next nref lref last post

RT6.0C: hc breakage

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Fri Sep 23 23:44:58 1988

Date: Fri, 23 Sep 88 23:44:34 EDT
From: Ken Raeburn <raeburn@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

In /mit/raeburn/compiler-bugs/hc-60C/a.c, I have a file which causes
hc to generate assembly errors when compiling with certain flags:

 <1098 11:39pm>[steve-dallas!raeburn:/mit/raeburn/compiler-bugs/hc-60C]
% cc -c -R -g a.c
w "a.c",L1/C14:  rcsid_discuss_c: Variable is set but is never referenced.
Assembler:
"/tmp/pp.s006046", line 876: INTERNAL ERROR: Wrote 252 symbols, wanted to write 251 symbols

"/tmp/pp.s006046", line 876: INTERNAL ERROR: Wrote 252 strings, wanted 251

Exit 1               cc -c -R -g a.c
 <1099 11:40pm>[steve-dallas!raeburn:/mit/raeburn/compiler-bugs/hc-60C]
%

Compiling without -g or without -R appears to alleviate the problem in
this case.  (Though I do have several others I will be experimenting
with.)

-- Ken

home help back first fref pref prev next nref lref last post