[Bug c++/117615] constexpr failure static_cast of Derived virtual Pointer to Member function

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 --- Comment #3 from Andrew Pinski --- Created attachment 59605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59605&action=edit Reduced testcase

[Bug c++/117615] constexpr failure static_cast of Derived virtual Pointer to Member function

2024-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug c++/117615] constexpr failure static_cast of Derived virtual Pointer to Member

2024-11-15 Thread acox at reliablecontrols dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117615 --- Comment #1 from Alec --- It is worth noting that the same code compiles under clang-18 (haven't tested other versions), although that doesn't mean they're doing the right thing.