https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90260
--- Comment #2 from Nikolay Bogoychev <nheart at gmail dot com> --- Hey Martin, I know clang doesn't support that. I have opened a separate bug report there https://bugs.llvm.org/show_bug.cgi?id=41613 Based on some discussions on their mailing lists, it seems like this is a planned feature. Also somewhat irrelevant, GCC supports function multiversioning in class constructors, whereas clang doesn't: https://bugs.llvm.org/show_bug.cgi?id=41614 Cheers, Nick