This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix treelang breakage


I've installed this obvious fix for treelang.
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2004-08-26  Nathan Sidwell  <nathan@codesourcery.com>

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

Index: treetree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/treetree.c,v
retrieving revision 1.43
diff -c -3 -p -r1.43 treetree.c
*** treetree.c	24 Aug 2004 16:39:42 -0000	1.43
--- treetree.c	26 Aug 2004 09:14:10 -0000
*************** tree_code_get_integer_value (unsigned ch
*** 680,686 ****
    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 the tree for an expresssion, type EXP_TYPE (see treetree.h)
--- 680,687 ----
    for (ix = start; ix < length; ix++)
      val = val * 10 + chars[ix] - (unsigned char)'0';
    val = val*negative;
!   return build_int_cst_wide (NULL_TREE,
! 			     val & 0xffffffff, (val >> 32) & 0xffffffff);
  }
  
  /* Return the tree for an expresssion, type EXP_TYPE (see treetree.h)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]