From: Nathan Sidwell Date: Thu, 26 Aug 2004 09:14:44 +0000 (+0000) Subject: * treetree.c (tree_code_get_integer_value): Fix build_int_cst call. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8def91dbfa8493f807c40c776d7958a2d0018993;p=gcc.git * treetree.c (tree_code_get_integer_value): Fix build_int_cst call. From-SVN: r86611 --- 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 + + * treetree.c (tree_code_get_integer_value): Fix build_int_cst call. + 2004-08-24 Nathan Sidwell * 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)