Date: Wed, 17 Mar 1999 01:32:13 -0500 (EST) From: "John S. Dyson" <dyson@iquest.net> To: imp@harmony.village.org (Warner Losh) Cc: alk@pobox.com, chat@FreeBSD.ORG Subject: Re: Use of "register" in code Message-ID: <199903170632.BAA03094@y.dyson.net> In-Reply-To: <199903170542.WAA07396@harmony.village.org> from Warner Losh at "Mar 16, 99 10:42:37 pm"
index | next in thread | previous in thread | raw e-mail
Warner Losh said: > In message <14063.12923.464399.183283@avalon.east> Anthony Kimball writes: > : Firstly, removing "register" declarations from a program can > : cause correct code to become incorrect code. This is true, not only > : of ANSI C, but of the GNU C 2 series compilers, as well as other > : significant current compilers, such as Microsoft and SunPro. > > How? I can think of no way that removing the register part of a > declaration can cause this (eg register int foo -> int foo). > It is possible because of setjmp type things. However, the use of register can be replaced by "auto?" -- John | Never try to teach a pig to sing, dyson@iquest.net | it makes one look stupid jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903170632.BAA03094>
