[Bug c++/100710] static_cast to derived* of base* pointing to non-static data member of base type not rejected in constant expression

2021-05-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100710

--- Comment #1 from Jonathan Wakely  ---
Confirmed. Not a regression.

[Bug c++/100710] static_cast to derived* of base* pointing to non-static data member of base type not rejected in constant expression

2021-05-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100710

Jonathan Wakely  changed:

   What|Removed |Added

   Last reconfirmed||2021-05-25
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1