sdo@PURDUE.EDU.UUCP (12/04/87)
It has recently been discovered that the Sun Optimizing compiler has trouble generating code in the presence of the asm("...") statements of the disable() and restore() macros. This bug results in register variables being overwritten in certain cases. One of the places where this occurs is in the sleep10() routine, which has the side effect of setting register d7 to 1. Cc uses registers d7-d2 for register variables, when requested, in that order. Until I hear back from Sun, I would recommend that the system be compiled WITHOUT the -O (optimizer) option. Shawn Ostermann ----------------------------------------------------------------------------- Shawn Ostermann ARPA: sdo@gwen.cs.purdue.edu UUCP: ...!purdue!sdo -----------------------------------------------------------------------------