This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/25512] [4.1/4.2 Regression] Overflow not handled in ptr arithmetic folding



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]