Thread View: net.micro.mac
1 messages
1 total messages
Started by Lennart Augustsson
Tue, 29 Jan 1985 23:15
SUMacC bugs (2.0 11/84)
Author: Lennart Augustsson
Date: Tue, 29 Jan 1985 23:15
Date: Tue, 29 Jan 1985 23:15
53 lines
1784 bytes
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
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