------- Comment #8 from pinskia at gcc dot gnu dot org 2005-11-10 13:58 ------- If pointer1 and pointer2 are not in the same array (+-1 element), the behavior is undefined so what GCC is doing for your case is fine.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24756