Commit 8def91db by Nathan Sidwell Committed by Nathan Sidwell

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

From-SVN: r86611
parent 45f413e4
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment