diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-26 09:14:44 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-26 09:14:44 +0000 |
commit | 7cf64e4e8864fb50b4cbc19998a384680f2c7bf8 (patch) | |
tree | 26c329f4a266135340bedee5161f3662c5694bfd /gcc/treelang | |
parent | fb0de38e1c46a26d37dffcbd8ea3061857c48987 (diff) | |
download | gcc-7cf64e4e8864fb50b4cbc19998a384680f2c7bf8.tar.gz |
* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r-- | gcc/treelang/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/treelang/treetree.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index b6d89cb263e..837af4f7d07 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 b55c6d1d057..c86918c7f6c 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) |