🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #591

M32 C compiler (comp2) bug

#591
From: 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 )
...
Technical Details
Message-ID: <6407@brl-smoke.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: comp.bugs.sys5
Subject: M32 C compiler (comp2) bug
Message-ID: <6407@brl-smoke.ARPA>
Date: Fri, 4-Sep-87 16:58:30 EDT
Article-I.D.: brl-smok.6407
Posted: Fri Sep  4 16:58:30 1987
Date-Received: Sat, 5-Sep-87 19:47:15 EDT
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 18
Keywords: M32 compiler comp2 DMD