augustss@chalmers.UUCP (Lennart Augustsson) (01/30/85)
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