https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384
--- Comment #1 from Huaqi <fanghuaqi at vip dot qq.com> --- This issue also present in arm-eabi-gcc toolchain 14.x, but not present in 13.x. compiler option chosen is -Os -mcpu=cortex-m0 chose m0 due it don't have a multiply hw unit see https://godbolt.org/z/941TbMKGc 14.x will generate bl __aeabi_lmul, but 13.x will not.