https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91227

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The results of relational expressions (<, >, <=, and <=) involving pointers to
unrelated objects are undefined and unspecified in C and C++, respectively. 
(See 6.5.8, p5 in C 11 and [expr.rel], p3 in C++ 17).

Reply via email to