[4897] in Athena Bugs
hc (2.1y) dumps core
daemon@ATHENA.MIT.EDU (John Carr)
Wed May 9 05:51:14 1990
To: bugs@ATHENA.MIT.EDU
Date: Wed, 09 May 90 05:51:00 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
The file /afs/athena/user/j/jfc/hcbug.c will cause hc2.1y to dump core if "-O"
is given as a command line argument (hc turns on optimization by default, so
"-O" should be a no-op). This file is preprocessed, so it doesn't matter what
include files you have installed.
% /srvd/bin/cc -O -v -S f.c
/lib/cpp -D__STDC__ -D__HIGHC__ f.c /tmp/pp.017019
/usr/lib/hc1com /tmp/pp.017019 -efile @E -silent -on CHAR_DEFAULT_UNSIGNED -off DOUBLE_MATH_ONLY -on DOUBLE_RETURN -on LONG_ENUMS -off PCC -on PCC_MSGS -ofile /tmp/IL1017019 -vfile /tmp/var017019 -machine rtfl -define ibm032 1 -pro hc.pro -copyr -dir /usr/include
MetaWare High C Compiler R2.1y
(c) Copyright 1987-89, MetaWare Incorporated
w "tpic.c",L75/C1: set_pen_size: Static function is not referenced.
w "tpic.c",L122/C1: flush_dashed: Static function is not referenced.
w "tpic.c",L184/C1: add_path: Static function is not referenced.
w "tpic.c",L245/C1: arc: Static function is not referenced.
w "tpic.c",L298/C1: flush_spline: Static function is not referenced.
/usr/lib/hc2com -i /tmp/IL1017019 -V /tmp/var017019 -s f.c -S f.s -e -O -T /tmp/HC2017019
w "tpic.c",L129: Variable "b" is possibly referenced before set.
(/srvd/bin/cc:) /usr/lib/hc2com: Segmentation fault (core dumped)
Please tell me when I can delete this file.