------- Comment #8 from sayle at gcc dot gnu dot org 2006-07-19 05:14 ------- Subject: Bug 28283
Author: sayle Date: Wed Jul 19 05:13:56 2006 New Revision: 115578 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115578 Log: PR middle-end/28283 * expmed.c (expand_shift): Additionally check that the shift_cost is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD before implementing a LSHIFT_EXPR as a sequence of additions. * config/sh/sh.c (shift_costs): Return MAX_COST to inform the middle-end that DImode shifts need to be synthesized by expand. Modified: trunk/gcc/ChangeLog trunk/gcc/config/sh/sh.c trunk/gcc/expmed.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28283