From: aesok Date: Fri, 16 Apr 2010 17:31:00 +0000 (+0000) Subject: * double-int.h (tree_to_double_int): Convert to macro. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=0df5563776d044bbe0526c3401c490ce3c6c5070 * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34ea7222070..dbec827db2f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-04-16 Anatoly Sokolov + + * double-int.h (tree_to_double_int): Convert to macro. + * double-int.c (tree_to_double_int): Remove. + 2010-04-16 Jakub Jelinek PR debug/43762 diff --git a/gcc/double-int.h b/gcc/double-int.h index 64ac843da1a..682034859b9 100644 --- a/gcc/double-int.h +++ b/gcc/double-int.h @@ -63,7 +63,10 @@ typedef struct tree double_int_to_tree (tree, double_int); bool double_int_fits_to_tree_p (const_tree, double_int); -double_int tree_to_double_int (const_tree); + +/* Constructs double_int from tree CST. */ + +#define tree_to_double_int(cst) (TREE_INT_CST (cst)) /* Constructs double_int from integer CST. The bits over the precision of HOST_WIDE_INT are filled with the sign bit. */