summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-20 15:28:07 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-20 15:28:07 +0000
commit08f4222b0cb1569b2c7271c467941cad92bba6ec (patch)
treeecb6beba94670cd9b56f2ae20aac3653bb643276 /gcc/tree.h
parent7436d2ff0eb7b73860ca5ed1f4574f9aa00a8105 (diff)
downloadgcc-08f4222b0cb1569b2c7271c467941cad92bba6ec.tar.gz
Remove some differences with trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205120 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index ea6d2fe8488..d4ea3842264 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3697,14 +3697,14 @@ extern inline __attribute__ ((__gnu_inline__)) HOST_WIDE_INT
tree_to_shwi (const_tree t)
{
gcc_assert (tree_fits_shwi_p (t));
- return TREE_INT_CST_ELT (t, 0);
+ return TREE_INT_CST_LOW (t);
}
extern inline __attribute__ ((__gnu_inline__)) unsigned HOST_WIDE_INT
tree_to_uhwi (const_tree t)
{
gcc_assert (tree_fits_uhwi_p (t));
- return TREE_INT_CST_ELT (t, 0);
+ return TREE_INT_CST_LOW (t);
}
#endif
extern int tree_int_cst_sgn (const_tree);