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: 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 Xref: seismo net.micro.mac:519 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