Article View: comp.sys.atari.st
Article #27706struct assignment BUG in mwc version 2.0
From: D'arc Angel
Date: Wed, 22 Jul 1987 00:04
Date: Wed, 22 Jul 1987 00:04
40 lines
1242 bytes
1242 bytes
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
Technical Details
Message-ID:
<421@daisy.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!columbia!rutgers!sri-unix!sri-spam!ames!amdcad!sun!imagen!atari!daisy!turnerShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!columbia!rutgers!sri-unix!sri-spam!ames!amdcad!sun!imagen!atari!daisy!turner From: turner@daisy.UUCP (D'arc Angel) Newsgroups: comp.sys.atari.st Subject: struct assignment BUG in mwc version 2.0 Message-ID: <421@daisy.UUCP> Date: Tue, 21-Jul-87 20:04:02 EDT Article-I.D.: daisy.421 Posted: Tue Jul 21 20:04:02 1987 Date-Received: Fri, 24-Jul-87 06:22:39 EDT Organization: The Houses of the Holy Lines: 40 Keywords: bug,mwc