[Bug c++/83615] A reference binding involving a qualification conversion is rejected

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83615 --- Comment #2 from Andrew Pinski --- Even more reduced testcase: typedef int t; struct S { explicit operator t() { return 0; } }; int main() { S val; t & (val); return 0; }

[Bug c++/83615] A reference binding involving a qualification conversion is rejected

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83615 --- Comment #1 from Andrew Pinski --- const has nothing to do with it: typedef int **t; class S { public: explicit operator t() { return 0; } }; int main() { S val; t & (val); return 0; }

[Bug c++/83615] A reference binding involving a qualification conversion is rejected

2018-08-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83615 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|