[Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool

TonyELewis at hotmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 15 08:50:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485

--- Comment #5 from Tony E Lewis <TonyELewis at hotmail dot com> ---
Thanks to all for all work on this.

(Apologies if this isn't helpful but just in case it is...) I notice that the
original Godbolt snippet ( https://godbolt.org/g/JnrZss ) has regressed from a
rejects-valid in 8.1 to an ICE on trunk ("9.0.0 20180610") :


g++: internal compiler error: Segmentation fault signal terminated program as

Please submit a full bug report,

with preprocessed source if appropriate.

See <https://gcc.gnu.org/bugs/> for instructions.

Compiler returned: 4


More information about the Gcc-bugs mailing list