[Bug middle-end/25512] [4.1/4.2 Regression] Overflow not handled in ptr arithmetic folding
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Wed Dec 21 18:40:00 GMT 2005
------- 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" <gcc-bugzilla@gcc.gnu.org> 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
More information about the Gcc-bugs
mailing list