🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Doug Gwyn Fri, 04 Sep 1987 20:58
M32 C compiler (comp2) bug
#591
Author: Doug Gwyn
Date: Fri, 04 Sep 1987 20:58
18 lines
1091 bytes
I found the following bug in the DMD (Release 2.0) SGS sources.
I would guess that it is present in other WE32000 (3B2, 3B5, etc.)
SGS packages also.

In $DMD/sgs/usr/src/cmd/sgs/comp2/m32/Makefile, delete the line:
		-@echo "Expect 2 \"... may be covered by ...\" messages"
Those messages were produced by the bug being fixed below:

Edit $DMD/sgs/usr/src/cmd/sgs/comp2/common/sty.y:
/* @(#) sty.y: 1.1 12/22/83				*/
...
shapeshr( s1, s2 )
...
	if ( s1 < 0 || s2 < 0 )
		return 0;		/* DAG -- added (bug fix) */

	for( i1 = s1;  shp[i1].sleft >= 0;  i1 = shp[i1].sleft )
...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads