http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59343
--- Comment #8 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to gcc-bugzilla-f5d8 from comment #0) > Created attachment 31327 [details] > miscompilation testcase > > The attached testcase miscompiles on sh4 target if build with -Os > BTW thanks for the test case. It's an interesting case for further optimizations of the sh_treg_combine pass (see PR 51244 comment 72).