https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68600
--- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Question: Would it make sense to add an option so that only matrices with size known at compile-time are inlined? Somethin like -finline-matmul-size-var=0 (to disable), -finline-matmul-size-fixed=5 (to inline for fixed size up to 5 only).