https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98920
--- Comment #19 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Indeed. > But perhaps instead of adding new effective target tests, in this case it > could > be resolved by: [... wrapping the bulk of main in #ifdef REG_STARTEND ...] Right. In fact that's currently the preferred solution when I reported the bug upstream https://reviews.llvm.org/D96348, which has the same issue.