[Bug c++/105277] Pointer to member UB in constant expression is not checked.

2025-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105277 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-25 Ever confirmed|0

[Bug c++/105277] Pointer to member UB in constant expression is not checked.

2022-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105277 --- Comment #1 from Andrew Pinski --- both clang and msvc also accepts this code ...