[Bug middle-end/115498] Missing warning for comparing distinct (char*) pointers in much complex code path

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115498

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #2)
> I think -Wanalyzer-undefined-behavior-ptrdiff solves this ...

Looks like that is not warning here but maybe because that only warns for
ptrdiff and not ==.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.