https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110936
Nathaniel Shead <nathanieloshead at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathanieloshead at gmail dot
com
--- Comment #3 from Nathaniel Shead <nathanieloshead at gmail dot com> ---
More generally this appears to be caused by '-fno-delete-null-pointer-checks'
causing constant folding not to occur. Minimised example:
struct foo { void bar() { } };
constexpr bool b = &foo::bar;
https://gcc.godbolt.org/z/x7csTzjfa