* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
From-SVN: r86611
This commit is contained in:
parent
45f413e4ee
commit
8def91dbfa
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue