9fans archive / 1998 / 07 / 17 /    prev next

From: Scott Schwartz schwartz@bio...
Subject: [9fans] lmbench vs 8c
Date: Sat, 11 Jul 1998 19:56:27 -0400

Brandon Black <photon@dtm...> writes:
| Interesting.... but do you get the same problems with semi-valid code?

The original program was completely valid.  I chopped it down just to
the point where the compiler bug manifested.

The fix (from bobf and ken) is to change, in gc.h, 
	char reg[D_NONE];
to 
	int reg[D_NONE];

And to change the initialization in txt.c to use a loop instead of memset.