> The most isolated patch I can come up with, especially since we ought to
> fix this in 4.8 branch as well, is to only allow expansion of wide int
> modes to const_int when they're positive.
> 
> Thoughts?

That's a fairly dangerous hack in my opinion, in particular this breaks the 
uniqueness of representation of -1 as constm1_rtx.  Can't we find a really 
contained hack instead, especially if we want to backport it to 4.8?

-- 
Eric Botcazou

Reply via email to