diff options
author | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-16 17:31:00 +0000 |
---|---|---|
committer | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-16 17:31:00 +0000 |
commit | 54539f04700d634064d8b5f791f90bcdc6038594 (patch) | |
tree | e6ff3785e037f37055445ae5e7c6e400f2143152 /gcc/double-int.c | |
parent | 5172041128eebb7319c95796518c63f1c41793c7 (diff) | |
download | gcc-54539f04700d634064d8b5f791f90bcdc6038594.tar.gz |
* double-int.h (tree_to_double_int): Convert to macro.
* double-int.c (tree_to_double_int): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158437 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/double-int.c')
-rw-r--r-- | gcc/double-int.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/double-int.c b/gcc/double-int.c index 96e5884c96f..2af97ba0c62 100644 --- a/gcc/double-int.c +++ b/gcc/double-int.c @@ -842,18 +842,6 @@ double_int_sext (double_int cst, unsigned prec) return r; } -/* Constructs long integer from tree CST. The extra bits over the precision of - the number are filled with sign bit if CST is signed, and with zeros if it - is unsigned. */ - -double_int -tree_to_double_int (const_tree cst) -{ - /* We do not need to call double_int_restrict here to ensure the semantics as - described, as this is the default one for trees. */ - return TREE_INT_CST (cst); -} - /* Returns true if CST fits in unsigned HOST_WIDE_INT. */ bool |