* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.

From-SVN: r86611
This commit is contained in:
Nathan Sidwell 2004-08-26 09:14:44 +00:00 committed by Nathan Sidwell
parent 45f413e4ee
commit 8def91dbfa
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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)