[comp.sys.amiga] yet another Aztec C 3.4 bug

rmariani@watmum.waterloo.edu (Rico Mariani) (04/27/88)

While I'm here I thought I'd mention that the last bug only happens
if you use the +L option...

And now for the bug of the hour...

foo(x)
register double x;
{
}

generates:

;:ts=8
;foo(x)
;register double x;
	public	_foo
_foo:
	link	a5,#.2
	movem.l	.3,-(sp)
;{
	move.d	8(a5),d4		; <<<<--- SAY WHAT?
;}
.4
	movem.l	(sp)+,.3
	unlk	a5
	rts
.2	equ	0
.3	reg	d4
	public	.begin
	dseg
	end

Needless to say this results in an assembly time error...

	-Rico