[PATCH] Fix seq_cost prototype to use signed int

Jiong Wang jiong.wang@arm.com
Tue Sep 8 12:26:00 GMT 2015


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.wang@arm.com>

gcc/
  * rtl.h (seq_cost): Change return type from "unsigned" to "int".
  * rtlanal.c (seq_cost): Likewise.
  
-- 
Regards,
Jiong

-------------- next part --------------
A non-text attachment was scrubbed...
Name: seq_cost.patch
Type: text/x-diff
Size: 918 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150908/32c88c17/attachment.bin>


More information about the Gcc-patches mailing list