diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-08-26 09:14:44 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-26 09:14:44 +0000 |
commit | 8def91dbfa8493f807c40c776d7958a2d0018993 (patch) | |
tree | 26c329f4a266135340bedee5161f3662c5694bfd /gcc/treelang | |
parent | 45f413e4eee3e9ae65199645801236838ddadb67 (diff) | |
download | gcc-8def91dbfa8493f807c40c776d7958a2d0018993.zip gcc-8def91dbfa8493f807c40c776d7958a2d0018993.tar.gz gcc-8def91dbfa8493f807c40c776d7958a2d0018993.tar.bz2 |
* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
From-SVN: r86611
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 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) |