[5761] in Athena Bugs
A bug with cc on the DECstation 3100 blowing an assertion
daemon@ATHENA.MIT.EDU (geoff@ATHENA.MIT.EDU)
Fri Aug 17 20:15:04 1990
From: geoff@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Cc: geoff@ATHENA.MIT.EDU
Date: Fri, 17 Aug 90 20:14:45 EDT
Program with which you had the problem: cc
Name of person who discovered the bug: Geoff Collyer
Their MIT phone number:
Their MIT address:
Their Athena Login ID: geoff
Name of consultant reporting bug:
------------------------------------------------------------------------
A brief synopsis of the problem: cc on the pmax (hodge & podge) can't
compile "*p++ = c && a;".
------------------------------------------------------------------------
Please describe the problem in detail (mention any necessary files or
commands that may be involved, on which machine the bug happened, and what
the program did that was wrong): cc says
cc -c gc2.c
(ccom): gc2.c, line 7: ccom: Internal: wasted space: 2001727160
}
^
------------------------------------------------------------------------
Repeat by (please enter a set of commands which will allow us to
repeat the bug):
rlogin hodge
exec sh
cat >/tmp/gc2.c <<'!'
f()
{
char *p = "abc";
int c = 0, a = 0;
*p++ = c && a;
}
!
cc -c /tmp/gc2.c
------------------------------------------------------------------------
Fix (if you know what it is): sorry.