https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112729
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- 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. That's one of the first differences between Linux and other x86 targets that come to mind. I'd have sworn that's what I tried before reporting the bug. Apparently not ;-(