Path: utzoo!attcan!uunet!peregrine!elroy!ames!ncar!tank!uxc!uxc.cso.uiuc.edu!uxg.cso.uiuc.edu!uxe.cso.uiuc.edu!mcdonald
From: mcdonald@uxe.cso.uiuc.edu
Newsgroups: comp.lang.c
Subject: Re: Out of range pointers
Message-ID: <225800073@uxe.cso.uiuc.edu>
Date: 22 Sep 88 13:54:00 GMT
References: <33432@cca.CCA.COM>
Lines: 11
Nf-ID: #R:cca.CCA.COM:33432:uxe.cso.uiuc.edu:225800073:000:409
Nf-From: uxe.cso.uiuc.edu!mcdonald    Sep 22 08:54:00 1988



>One problem with this is that on the segmented machines it is the act
>of computing such a pointer that is invalid, not the pointer itself.

I don't understand this. I can understand that on certain wacko
architectures that computing it IN A SEGMENT REGISTER would cause
a problem. But why not do the computation in an ordinary 
arithmetic register, presumably by casting to an integer type?

DougMcDonald