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++ PATCH: dump_expr tweak


2000-09-21  Jason Merrill  <jason@redhat.com>

	* error.c (dump_expr): Use host_integerp.

*** error.c.~1~	Tue Sep 12 18:06:02 2000
--- error.c	Wed Sep 20 11:35:31 2000
*************** dump_expr (t, flags)
*** 1628,1635 ****
  	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;
  
--- 1628,1634 ----
  	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]