[comp.sys.atari.st] struct assignment BUG in mwc version 2.0

turner@daisy.UUCP (D'arc Angel) (07/22/87)

What's wrong with this picture ???

main()
{
	typedef struct {
		int i[14];
	} fred;
	fred a, b[3];
    a = b[1];
}
 
generates:

/	module name fred

	.shri

	.globl main_
main_:
	link	a6, $-112
	lea	-56(a6), a1
	movea.l	a6, a0
	move	$6, d1
L10001:
	move.l	-(a1), -(a0)
	dbf	d0,	L10001
	unlk	a6
	rts


(HINT) if you guessed d0, then you may already be a wiener.....

anyone got the email address of mwc ????

-- 
C'est la vie, C'est la guerre, C'est la pomme de terre
{cbosgd,fortune,hplabs,seismo!ihnp4,ucbvax}!nsc!daisy!turner      Jim Turner 
Daisy Systems, 700 E. Middlefield Rd, P.O. Box 7006, 
Mountain View CA 94039-7006.                                   (415)960-0123