Doug Semler - 2017-11-07

This looks like a code generation issue in gcc itself. Looking at the assembly that was generated, it appears the vtbl function pointers aren't being set properly for the extension class. Please report this to the gcc bugzilla at https://gcc.gnu.org/bugzilla/, as the code generated is invalid on a linux machine as well (verified with
gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)