[Bug c++/101622] Type erasure (upcasting) in constexpr/consteval context

2022-01-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101622

Patrick Palka  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|NEW |RESOLVED
 CC||ppalka at gcc dot gnu.org

--- Comment #2 from Patrick Palka  ---
Thanks for the bug report.  This appears to be a dup of PR94716 which has
recently been fixed for GCC 12.

*** This bug has been marked as a duplicate of bug 94716 ***

[Bug c++/101622] Type erasure (upcasting) in constexpr/consteval context

2021-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101622

Jonathan Wakely  changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
   Last reconfirmed||2021-07-26

--- Comment #1 from Jonathan Wakely  ---
I think the code is valid.