summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 07:42:09 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 07:42:09 +0000
commitf9ae6f95055fe8521d46b1f2d87f7062d9977104 (patch)
treeae798e9ef20864aa44736ca475453536bd92e00f /gcc/dbxout.c
parentdd76621fd65db1958572949115035a8c3646d846 (diff)
downloadgcc-f9ae6f95055fe8521d46b1f2d87f7062d9977104.tar.gz
Remove tree_to_hwi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205007 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index d110a9475f6..1ef63f32c85 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -2251,7 +2251,7 @@ dbxout_type (tree type, int full)
value = DECL_INITIAL (value);
if (cst_fits_shwi_p (value))
- stabstr_D (tree_to_hwi (value));
+ stabstr_D (TREE_INT_CST_LOW (value));
else
stabstr_O (value);
@@ -2872,7 +2872,7 @@ dbxout_symbol (tree decl, int local ATTRIBUTE_UNUSED)
if (TREE_CODE (TREE_TYPE (decl)) == INTEGER_TYPE
|| TREE_CODE (TREE_TYPE (decl)) == ENUMERAL_TYPE)
{
- HOST_WIDE_INT ival = tree_to_hwi (DECL_INITIAL (decl));
+ HOST_WIDE_INT ival = TREE_INT_CST_LOW (DECL_INITIAL (decl));
dbxout_begin_complex_stabs ();
dbxout_symbol_name (decl, NULL, 'c');