https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112729
--- Comment #2 from Hongyu Wang <wwwhhhyyy333 at gmail dot com> --- The cfi scan fails was caused by -fno-omit-frame-pointer which force push the frame pointer first and the cfi info become different. By default we have -fomit-frame-pointer on linux, but not other targets. I'd just add -fomit-frame-pointer to these tests.