Fix bootstrap

Richard Guenther rguenther@suse.de
Tue Nov 3 11:44:00 GMT 2009


Committed as obvious.

Richard.

2009-11-03  Richard Guenther  <rguenther@suse.de>

	* c-common.c (fold_offsetof_1): Use HOST_WIDE_INT_PRINT_DEC.

Index: gcc/c-common.c
===================================================================
*** gcc/c-common.c	(revision 153844)
--- gcc/c-common.c	(working copy)
*************** fold_offsetof_1 (tree expr, tree stop_re
*** 8403,8409 ****
          HOST_WIDE_INT index = int_cst_value (t);
  	if (index > int_cst_value (nelts))
  	  warning (OPT_Warray_bounds,
! 		   "index %ld denotes an offset greater than size of %qT",
  		   index, TREE_TYPE (TREE_OPERAND (expr, 0)));
        }
        break;
--- 8403,8410 ----
          HOST_WIDE_INT index = int_cst_value (t);
  	if (index > int_cst_value (nelts))
  	  warning (OPT_Warray_bounds,
! 		   "index " HOST_WIDE_INT_PRINT_DEC " denotes an offset "
! 		   "greater than size of %qT",
  		   index, TREE_TYPE (TREE_OPERAND (expr, 0)));
        }
        break;



More information about the Gcc-patches mailing list