* treetree.c (tree_code_get_integer_value): Fix build_int_cst call.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 26 Aug 2004 09:14:44 +0000 (09:14 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 26 Aug 2004 09:14:44 +0000 (09:14 +0000)
From-SVN: r86611

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

index b6d89cb263e8aadb193b62d1058bd30fc14d47db..837af4f7d07b3768c9353c080a0d123b8ec36bae 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 b55c6d1d057358a115ebfeb2ac225fa206d980ce..c86918c7f6c022a69c59849079cd37ab2240a816 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)