aboutsummaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/treelang')
-rw-r--r--gcc/treelang/ChangeLog4
-rw-r--r--gcc/treelang/treetree.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog
index b6d89cb..837af4f 100644
--- a/gcc/treelang/ChangeLog
+++ b/gcc/treelang/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-26 Nathan Sidwell <nathan@codesourcery.com>
+
+ * treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
+
2004-08-24 Nathan Sidwell <nathan@codesourcery.com>
* treelang/treetree.c (treelang_init_decl_processing): Adjust
diff --git a/gcc/treelang/treetree.c b/gcc/treelang/treetree.c
index b55c6d1..c86918c 100644
--- a/gcc/treelang/treetree.c
+++ b/gcc/treelang/treetree.c
@@ -680,7 +680,8 @@ tree_code_get_integer_value (unsigned char* chars, unsigned int length)
for (ix = start; ix < length; ix++)
val = val * 10 + chars[ix] - (unsigned char)'0';
val = val*negative;
- return build_int_cst (NULL_TREE, val & 0xffffffff, (val >> 32) & 0xffffffff);
+ return build_int_cst_wide (NULL_TREE,
+ val & 0xffffffff, (val >> 32) & 0xffffffff);
}
/* Return the tree for an expresssion, type EXP_TYPE (see treetree.h)