[Bug c++/90925] gcc allows calling private overridden operators

2022-01-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug c++/90925] gcc allows calling private overridden operators

2021-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/90925] gcc allows calling private overridden operators

2020-06-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > This is probably another dup of PR 41437 Apparently not.

[Bug c++/90925] gcc allows calling private overridden operators

2020-03-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2019-06-19 00:00:00 |2020-3-12 --- Comment #5 from Jonathan

[Bug c++/90925] gcc allows calling private overridden operators

2019-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 --- Comment #4 from Jonathan Wakely --- Right. Just because all your code examples use "template" and "private" doesn't make them related.

[Bug c++/90925] gcc allows calling private overridden operators

2019-06-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 --- Comment #3 from Andrew Pinski --- (In reply to zhonghao from comment #2) > A related code sample: > gcc also accepts it, although x->value is private. No that is not related at all. In fact it is only rejected when D::verify is instantiated

[Bug c++/90925] gcc allows calling private overridden operators

2019-06-19 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 --- Comment #2 from zhonghao at pku dot org.cn --- A related code sample: class A { virtual int String (); }; class F: public A { }; template < typename V > class G { private: V value; }; class D { template < int N > void Verify() { G* x =

[Bug c++/90925] gcc allows calling private overridden operators

2019-06-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90925 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC