home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!uunet.ca!xenitec!mongrel!amdunn
- From: amdunn@mongrel.UUCP (Andrew M. Dunn)
- Newsgroups: comp.unix.internals
- Subject: Re: Question about longjmp ()
- Message-ID: <1993Jan10.173112.4359@mongrel.UUCP>
- Date: 10 Jan 93 17:31:12 GMT
- Article-I.D.: mongrel.1993Jan10.173112.4359
- References: <C0JpMo.1rGr@austin.ibm.com> <1993Jan9.124323.13018@csie.nctu.edu.tw> <1639@yetti.UUCP>
- Organization: A. Dunn Systems Corporation, Kitchener, Ontario, Canada
- Lines: 23
-
- In article <1639@yetti.UUCP> minas@cs.yorku.ca (Minas Spetsakis) writes:
- >
- >In article <1993Jan9.124323.13018@csie.nctu.edu.tw>, cp78065@csie.nctu.edu.tw (Ji-Tzay Yang) writes:
- >|> : My question is, should the value of i change or not.
- >It all depends if i is a register. C decides what to store in a register. The
- >register directive is only a hint.
- >
- >The only way I can think that enforces i not to be a register is to have at
- >some point in your code a &i. But then, I never tested that. Or have it global.
-
- Even that's not a guarantee. Some processors map the registers to low
- address space. A C compiler on one of those beasts could correctly produce
- &i even if i was a register variable!
-
-
-
- Andy
-
- --
- :-------------------------------------------------------------------------:
- : Andy Dunn <amdunn@mongrel.UUCP> or <dunn5177@mach1.WLU.CA> :
- : "AT&T thinks Usenet is an Underground organization" - are we really? :
- :-------------------------------------------------------------------------:
-