https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55698
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |manu at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
If the operator is not used, we do not warn. And it is not used because you
have
return 0;
return a==b;
and this is what we should warn about.
*** This bug has been marked as a duplicate of bug 46476 ***