https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67061
--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #5) > Created attachment 36331 [details] > Proposed patch > > The issue with the function 'sh_find_set_of_reg' has also popped up when > enabling LRA by default on trunk (see PR 55212). > > With the attached patch, sh-elf and sh64-elf newlib based toolchains build > successfully. I'm now testing the patch on sh-elf. No new failures for make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"