------- Comment #8 from gdr at integrable-solutions dot net 2005-12-21 18:40 ------- Subject: Re: [4.1/4.2 Regression] Overflow not handled in ptr arithmetic folding
"pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | One more thing, the comparision will fail with segmented memory targets like | x86 (when using the segment register). I don't know whether GCC supports such target (if yes, you've potentially found a bug in GCC's implementation of total pointer ordering as required by the C++ standard) That is more reason for GCC to document what the mapping for the conversion T* -> integer type. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25512