https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51244
--- Comment #88 from Oleg Endo <olegendo at gcc dot gnu.org> --- Author: olegendo Date: Tue Sep 27 12:50:27 2016 New Revision: 240533 URL: https://gcc.gnu.org/viewcvs?rev=240533&root=gcc&view=rev Log: gcc/ PR target/51244 * config/sh/sh.c (sh_rtx_costs): Fix return value of SET of movt and movrt patterns. Match them before anything else in the SET case. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.c