------- Comment #9 from uwe at netbsd dot org  2006-07-20 03:27 -------
(In reply to comment #8)

> 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

Thanks!

Is this planned for pull-up to 4.1.x?

-uwe


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28283

Reply via email to