Hi all
This patch fixes a warning in arm.c about a comparison between signed and
unsigned integers.
This is usually harmless, but during bootstrap we compile with -Werror and
this turns
into an error. The fix is a one-liner.
Tested to make sure warning goes away and did a regtest run for
arm-none-eabi.
Ok for trunk?
Thanks,
Kyrill
2013-04-05 Kyrylo Tkachov <kyrylo.tkac...@arm.com>
* config/arm/arm.c (arm_expand_builtin): Change fcode
type to unsigned int.
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 231a27f..1558fb0 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -21489,7 +21489,7 @@ arm_expand_builtin (tree exp,
rtx op1;
rtx op2;
rtx pat;
- int fcode = DECL_FUNCTION_CODE (fndecl);
+ unsigned int fcode = DECL_FUNCTION_CODE (fndecl);
size_t i;
enum machine_mode tmode;
enum machine_mode mode0;