diff options
author | Richard Guenther <rguenther@suse.de> | 2012-07-06 09:25:46 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-07-06 09:25:46 +0000 |
commit | 064f886a4b6e4f30d8a98f8aa825e390c9604451 (patch) | |
tree | 81f52cc6689403d1fe94282d6769022d0959d317 /gcc/double-int.h | |
parent | 1ffb6a971418d7cdf17a93fde133edace12a13cb (diff) | |
download | gcc-064f886a4b6e4f30d8a98f8aa825e390c9604451.tar.gz |
backport: [multiple changes]
2012-07-06 Richard Guenther <rguenther@suse.de>
Backport from mainline
2012-03-30 Richard Guenther <rguenther@suse.de>
PR middle-end/52786
* double-int.c (rshift_double): Remove not
needed cast.
2012-03-28 Richard Guenther <rguenther@suse.de>
PR middle-end/50708
* double-int.h (rshift_double): Remove.
* double-int.c (lshift_double): Use absu_hwi to make count
positive.
(rshift_double): Make static, take unsigned count argument,
remove handling of negative count argument.
(double_int_rshift): Dispatch to lshift_double.
From-SVN: r189314
Diffstat (limited to 'gcc/double-int.h')
-rw-r--r-- | gcc/double-int.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/double-int.h b/gcc/double-int.h index 6d1555111d3..408ed92b8a1 100644 --- a/gcc/double-int.h +++ b/gcc/double-int.h @@ -300,9 +300,6 @@ extern int mul_double_with_sign (unsigned HOST_WIDE_INT, HOST_WIDE_INT, extern void lshift_double (unsigned HOST_WIDE_INT, HOST_WIDE_INT, HOST_WIDE_INT, unsigned int, unsigned HOST_WIDE_INT *, HOST_WIDE_INT *, bool); -extern void rshift_double (unsigned HOST_WIDE_INT, HOST_WIDE_INT, - HOST_WIDE_INT, unsigned int, - unsigned HOST_WIDE_INT *, HOST_WIDE_INT *, bool); extern int div_and_round_double (unsigned, int, unsigned HOST_WIDE_INT, HOST_WIDE_INT, unsigned HOST_WIDE_INT, HOST_WIDE_INT, unsigned HOST_WIDE_INT *, |