https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109506
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Even that happens locally: apinski@xeond:~/src/upstream-gcc$ ./gcc/objdir/gcc/cc1plus t.cc -quiet t.cc: In constructor ‘constexpr bar<void>::bar()’: t.cc:3:38: error: inlining failed in call to ‘always_inline’ ‘foo<T>::foo() [with T = void]’: function body not available 3 | __attribute__((__always_inline__)) foo() {}; | ^~~ t.cc:5:29: note: called from here 5 | template <typename T> class bar { | ^~~ apinski@xeond:~/src/upstream-gcc$ ./gcc/objdir/gcc/cc1plus t.cc -quiet -fchecking