https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106442
--- Comment #5 from sherry.zhang2 at arm dot com --- (In reply to Andrew Pinski from comment #4) > A picture is not the source. > But this looks more like a bug in either your inline-asm or how you invoke > GCC. Logs after adding -v to GCC: COLLECT_GCC_OPTIONS= '-mcpu=cortex-m55+nomve.fp' '-v' '-O3' '-D' 'NDEBUG' '-specs=nano.specs' '-Wall' '-Wformat=0' '-Wno-return-type' '-Wno-unused-but-set-variable' '-c' '-fdata-sections' '-ffunction-sections' '-fno-builtin' '-fshort-enums' '-funsigned-char' '-mthumb' '-nostdlib' '-std=c99' '-g' '-mfloat-abi=soft' '-mcmse' '-Wno-unused-value' '-o' 'CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o' '-c' '-mlibarch=armv8.1-m.main+mve' '-march=armv8.1-m.main+mve' The same source code can build without error if I enable FP with COLLECT_GCC_OPTIONS='-mcpu=cortex-m55' '-v' '-O3' '-D' 'NDEBUG' '-specs=nano.specs' '-Wall' '-Wformat=0' '-Wno-return-type' '-Wno-unused-but-set-variable' '-c' '-fdata-sections' '-ffunction-sections' '-fno-builtin' '-fshort-enums' '-funsigned-char' '-mthumb' '-nostdlib' '-std=c99' '-g' '-mfloat-abi=hard' '-mfpu=fpv5-d16' '-mcmse' '-Wno-unused-value' '-o' 'CMakeFiles/tfm_spm.dir/cmsis_psa/arch/tfm_arch_v8m_main.o' '-c' '-mlibarch=armv8.1-m.main+fp.dp+mve' '-march=armv8.1-m.main+fp.dp+mve'