From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!paganini.bofh.team!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Comparing Access Types Date: Fri, 10 Nov 2017 11:05:42 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell02.theworld.com Mime-Version: 1.0 Content-Type: text/plain X-Trace: pcls7.std.com 1510329941 12013 192.74.137.72 (10 Nov 2017 16:05:41 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 10 Nov 2017 16:05:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:OOFq6wcYFRix7SgPUh1bXWaZ0Xc= Xref: feeder.eternal-september.org comp.lang.ada:48807 Date: 2017-11-10T11:05:42-05:00 List-Id: "Dmitry A. Kazakov" writes: > You could have two segments mapped to the same physical memory. No, the implementation would not allow that to happen. The fact that the hardware allows it is irrelevant. In fact, nonsegmented machines can do the same thing -- you can map two virtual pages to the same physical address. If you want "=" on pointers to work, then simply don't do that. >... Then you > may have two unequal segmented addresses pointing to the same physical > memory unit and so "=" will lie. If "=" lies, then the Ada implementation is simply wrong. - Bob