https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89367
--- Comment #4 from Frank Secilia <frank.secilia at gmail dot com> --- Created attachment 45743 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45743&action=edit alternative repro case using pointers to method Here is a similar case using pointers to methods. I'm honestly not sure if this is even allowed by the standard, but it works as expected with clang.