PR middle-end/53823
commit4105320e4afed077194515f0c442bb0855137a6f
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Aug 2012 23:16:53 +0000 (18 23:16 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Aug 2012 23:16:53 +0000 (18 23:16 +0000)
treecce054ce1aba013927a269a47a19b00fcd6964a0
parent91e240377eebcb2a08cde93d927ba8d743b48745
PR middle-end/53823
* expmed.c (expand_mult): Skip synth_mult for negative coefficients
if the mode is larger than a wide int and it is too costly to multiply
by a positive multiplier and negate the result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190505 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expmed.c