Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.lang.c Subject: Re: register struct or union (Re: Registers on the VAX 11/780?) Message-ID: <963@umcp-cs.UUCP> Date: Tue, 23-Jul-85 08:07:37 EDT Article-I.D.: umcp-cs.963 Posted: Tue Jul 23 08:07:37 1985 Date-Received: Wed, 24-Jul-85 08:21:43 EDT References: <574@ucsfcgl.UUCP> <469@talcott.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 12 > ... register structs and unions will fail with pcc-based > compilers due to a compiler bug. The compiler treats `s.member' as > `(&s)->member'; i.e., in the compiler, `->' rather than `.' is the > primitive. (There's a good reason for it doing so, but that's beside the point here). This has been ``fixed'' in later compilers by ignoring the register keyword; however, lint still gets indigestion on these. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland