From 8393490163889965738
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,e94695845965b249
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1992-10-29 11:31:02 PST
Newsgroups: comp.std.c++
Path: sparky!uunet!microsoft!hexnut!jimad
From: jimad@microsoft.com (Jim Adcock)
Subject: Re: Zero-length structures and pointer comparisons
Message-ID: <1992Oct30.001706.9931@microsoft.com>
Date: 30 Oct 92 00:17:06 GMT
Organization: Microsoft Corporation
References: <1992Oct23.064817.2648@ucc.su.OZ.AU> <23986@alice.att.com> <1992Oct28.180039.20655@ucc.su.OZ.AU>
Lines: 9

In article <1992Oct28.180039.20655@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
|	Yes, but IF the language required a total ordering the
|compiler would be REQUIRED to normalise the pointers

Not true.  The compiler can be written in such a manner that no strictly
conforming program can legally result in a denormalized pointer.  Then
the compiler has no requirement to perform normalization -- because such
could only be a result of a not strictly conforming program.



