------- Comment #4 from bernds at codesourcery dot com  2010-03-16 10:56 -------
Created an attachment (id=20117)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20117&action=view)
A patch to fix it.

The andsi3 expander has code to do the right thing, but
avoid_expensive_constant prevents it from seeing the constant.  This can be
fixed by tweaking the rtx_costs to detect the same cases as the expander.


-- 


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

Reply via email to