PR gas/12384
* config/tc-h8300.c (constant_fits_width_p): Use correct type for comparison.
This commit is contained in:
parent
2f1b715f20
commit
b37a4e796b
@ -1,3 +1,9 @@
|
||||
2011-01-20 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/12384
|
||||
* config/tc-h8300.c (constant_fits_width_p): Use correct type for
|
||||
comparison.
|
||||
|
||||
2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* write.c (compress_debug): Return if section size is smaller
|
||||
|
@ -559,7 +559,7 @@ static int
|
||||
constant_fits_width_p (struct h8_op *operand, unsigned int width)
|
||||
{
|
||||
return ((operand->exp.X_add_number & ~width) == 0
|
||||
|| (operand->exp.X_add_number | width) == (unsigned)(~0));
|
||||
|| (operand->exp.X_add_number | (offsetT) width) == (offsetT)(~0));
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user