register struct or union (Re: Registers on the VAX 11/780?)
Chris Torek
chris at umcp-cs.UUCP
Tue Jul 23 22:07:37 AEST 1985
> ... 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 at umcp-cs ARPA: chris at maryland
More information about the Comp.lang.c
mailing list