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

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Nathan Sidwell from comment #4)
> ordering comparison of pointers is only well-defined when the two pointers
> point into the same object (including one-past-the-end). [expr.ref]/4
> 

Right, there's a warning from -Wextra for that, there's a bug to split it off
into its own warning, too...

Reply via email to