🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #541

SUMacC bugs (2.0 11/84)

#541
From: Lennart Augustsson
Date: Tue, 29 Jan 1985 23:15
53 lines
1784 bytes
We got SUMacC version 2.0 (dated 11/84) today.  There are still a few old
bugs left:

1)

Subject:
	cc68 cannot cast to void.

Repeat by:
	try to compile
	main() { int a; (void)a; }
	this causes the compiler to loop.

Fix:
	Sorry, I don't have the sources so I can't fix it.

Temporary fix:
	#define void int


2)

Subject:
	CmpX doesn't work.  The stack isn't popped correctly.

Fix:
	Here's a context diff:
*** sane.s.old	Tue Jan 29 19:04:29 1985
--- sane.s	Tue Jan 29 19:05:08 1985
***************
*** 126,132
          addqb  #1,d1           | handy to increment
  
          movl    sp@,d0         | swap addresses (C already swapped)
!         addql  #2,sp           | kill slot for relop
  	movl	d0,sp@
  
          cmpb  #4,d1           | equal

--- 126,132 -----
          addqb  #1,d1           | handy to increment
  
          movl    sp@,d0         | swap addresses (C already swapped)
!         addql  #4,sp           | kill slot for relop
  	movl	d0,sp@
  
          cmpb  #4,d1           | equal

-- 
Any resemblance of the opinions above to real opinions, living or dead,
is purely coincidential.
		Lennart Augustsson
		{seismo,philabs,decvax}!mcvax!enea!chalmers!augustss
Technical Details
Message-ID: <216@chalmers.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!chalmers!augustss

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site chalmers.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!chalmers!augustss
From: augustss@chalmers.UUCP (Lennart Augustsson)
Newsgroups: net.micro.mac
Subject: SUMacC bugs (2.0 11/84)
Message-ID: <216@chalmers.UUCP>
Date: Tue, 29-Jan-85 18:15:47 EST
Article-I.D.: chalmers.216
Posted: Tue Jan 29 18:15:47 1985
Date-Received: Sun, 3-Feb-85 02:05:37 EST
Organization: Dept. of CS, Chalmers, Sweden
Lines: 53