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]

(C++) tweak to error.c


2000-10-20  Jason Merrill  <jason@redhat.com>

	* error.c (dump_expr): Use host_integerp.

*** error.c.~1~	Fri Oct 20 13:52:09 2000
--- error.c	Fri Oct 20 13:52:10 2000
*************** dump_expr (t, flags)
*** 1609,1616 ****
  	else
  	  {
  	    do_int:
! 	    if ((unsigned HOST_WIDE_INT) TREE_INT_CST_HIGH (t)
! 		!= (TREE_INT_CST_LOW (t) >> (HOST_BITS_PER_WIDE_INT - 1)))
  	      {
  	        tree val = t;
  
--- 1609,1615 ----
  	else
  	  {
  	    do_int:
! 	    if (! host_integerp (t, 0))
  	      {
  	        tree val = t;
  

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