OSDN Git Service

* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Aug 2004 09:14:44 +0000 (09:14 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Aug 2004 09:14:44 +0000 (09:14 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86611 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/treelang/ChangeLog
gcc/treelang/treetree.c

index b6d89cb..837af4f 100644 (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
index b55c6d1..c86918c 100644 (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)