https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #329 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Kazumoto Kojima from comment #326) > Created attachment 59190 [details] > a quick fix for c#318 > > This also reverts the change in c#312 and gives another fix for that issue. > Tested only with target libgcc/libstdc++v3 build and c testsuite. > I've updated sh-lra-take3 branch with this change. I've confirmed that with this patch it's possible to build an sh-elf-gcc with newlib. Unfortunately GCC's git repository policies don't allow 'push --force' which is required to cleanup/reorder/rebase/etc a patch set. Because of that I've moved it to github and will continue it there: https://github.com/olegendo/gcc/tree/devel/sh-lra Sorry for the mess.