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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-08-27
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed here is a C++98 version which shows this has always been an issue:
struct Foo {
  template <class T> operator T() const;
};
Foo *a;
Foo t;
bool R = (t == a);

Reply via email to