* config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
usage on 64-bit hosts, return value was truncated to 32 bits.
From-SVN: r55423
+2002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
+
+ * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
+ usage on 64-bit hosts, return value was truncated to 32 bits.
+
2002-06-28 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
int regno = true_regnum (x);
if (regno < 0)
return 0;
- return TEST_HARD_REG_CLASS (class, regno);
+
+ if (TEST_HARD_REG_CLASS (class, regno))
+ return 1;
+
+ return 0;
}
void