Re: [PATCH] rl78.c: fix warning

2016-06-01 Thread DJ Delorie
David Malcolm writes: > gcc/ChangeLog: > * config/rl78/rl78.c (rl78_expand_prologue): Convert local > from int to unsigned. Ok. I'm going to note that the corresponding loop in the epilogue also uses signed, but in that case, it must.

[PATCH] rl78.c: fix warning

2016-06-01 Thread David Malcolm
This configuration in contrib/config-list.mk rl78-elf currently fails to build due to a warning: gcc/config/rl78/rl78.c: In function ‘void rl78_expand_prologue()’: gcc/config/rl78/rl78.c:1381:25: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]