https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107771 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: ``` struct bind_in { template <typename R> operator R const& () const; }a; int x(void) { return a; } ```