cc generated code bug

Robbert van Renesse cogito at tjalk.UUCP
Mon Jul 1 02:06:48 AEST 1985


When right-shifting an unsigned variable, the compiler generates an
EXTZV instruction. If the shift count exceeds 32, a reserved operand
fault occurs and the program gets an illegal instruction signal, instead
of giving a null result.
-- 
			Robbert van Renesse
			cogito at vu44.UUCP



More information about the Comp.bugs.4bsd.ucb-fixes mailing list