2019-03-08 Jakub Jelinek <jakub@redhat.com>
+ PR target/79846
+ * config/s390/s390.c (s390_const_operand_ok): Use %wu instead of
+ HOST_WIDE_INT_PRINT_UNSIGNED and %wd instead of
+ HOST_WIDE_INT_PRINT_DEC. Formatting fixes.
+
PR ipa/80000
* ipa-devirt.c (compare_virtual_tables): Remove two trailing spaces
from diagnostics. Formatting fixes.
if (!tree_fits_uhwi_p (arg)
|| tree_to_uhwi (arg) > (HOST_WIDE_INT_1U << bitwidth) - 1)
{
- error("constant argument %d for builtin %qF is out of range (0.."
- HOST_WIDE_INT_PRINT_UNSIGNED ")",
- argnum, decl,
- (HOST_WIDE_INT_1U << bitwidth) - 1);
+ error ("constant argument %d for builtin %qF is out of range "
+ "(0..%wu)", argnum, decl,
+ (HOST_WIDE_INT_1U << bitwidth) - 1);
return false;
}
}
|| tree_to_shwi (arg) < -(HOST_WIDE_INT_1 << (bitwidth - 1))
|| tree_to_shwi (arg) > ((HOST_WIDE_INT_1 << (bitwidth - 1)) - 1))
{
- error("constant argument %d for builtin %qF is out of range ("
- HOST_WIDE_INT_PRINT_DEC ".."
- HOST_WIDE_INT_PRINT_DEC ")",
- argnum, decl,
- -(HOST_WIDE_INT_1 << (bitwidth - 1)),
- (HOST_WIDE_INT_1 << (bitwidth - 1)) - 1);
+ error ("constant argument %d for builtin %qF is out of range "
+ "(%wd..%wd)", argnum, decl,
+ -(HOST_WIDE_INT_1 << (bitwidth - 1)),
+ (HOST_WIDE_INT_1 << (bitwidth - 1)) - 1);
return false;
}
}