[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast

2020-02-10 Thread markrubn at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171 --- Comment #25 from mark --- As suggested, I've posted my comments as a question to the gcc-help mailing list, viewable at https://gcc.gnu.org/ml/gcc-help/2020-02/msg00048.html Further comments and suggestions are welcome as replies on the list

[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast

2020-02-09 Thread markrubn at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171 --- Comment #21 from mark --- (In reply to Jonathan Wakely from comment #19) > The main reason is that reinterpret_cast subverts the type system. > Constant expressions have to be free of undefined behaviour, which is > impossible to do if arbitr

[Bug c++/49171] [C++0x][constexpr] Constant expressions support reinterpret_cast

2020-02-09 Thread markrubn at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49171 mark changed: What|Removed |Added CC||markrubn at yahoo dot com --- Comment #18 from