Commit 26af4041 by Marek Michalkiewicz Committed by Marek Michalkiewicz

avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return…

avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return value was truncated to 32 bits.


	* 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: r55421
parent 04ec0065
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.
Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
* simplify-rtx.c (simplify_subreg): Handle floating point
......
......@@ -5305,7 +5305,11 @@ test_hard_reg_class (class, x)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment