On 09/08/2015 06:17 AM, Jiong Wang wrote:
Why not go the other way and start making things unsigned -- for a cost function like this, unsigned seems more natural to me.All other cost helper functions are using signed int to hold cost while seq_cost is using unsigned int. This fix this. bootstrap OK on x86. OK for trunk? 2015-09-08 Jiong Wang <jiong.w...@arm.com> gcc/ * rtl.h (seq_cost): Change return type from "unsigned" to "int". * rtlanal.c (seq_cost): Likewise.
jeff