fprintf_filtered (stream, "%lu", (unsigned long) val_long); break;
val = int_string (val_long, 10, 0, 0, 1); break;
print_longest (struct ui_file *stream, int format, int use_local,	       LONGEST val_long){#if defined (CC_HAS_LONG_LONG) && !defined (PRINTF_HAS_LONG_LONG)  if (sizeof (long) < sizeof (LONGEST))    {      switch (format)	{	case 'd':	  {	    /* Print a signed value, that doesn't fit in a long */	    if ((long) val_long != val_long)	      {		if (val_long < 0)		  print_decimal (stream, "-", use_local, -val_long);		else		  print_decimal (stream, "", use_local, val_long);		return;	      }	    break;	  }	case 'u':	  {	    /* Print an unsigned value, that doesn't fit in a long */	    if ((unsigned long) val_long != (ULONGEST) val_long)	      {		print_decimal (stream, "", use_local, val_long);		return;	      }	    break;	  }	case 'x':	case 'o':	case 'b':	case 'h':	case 'w':	case 'g':	  /* Print as unsigned value, must fit completely in unsigned long */	  {	    unsigned long temp = val_long;	    if (temp != val_long)	      {		/* Urk, can't represent value in long so print in hex.		   Do shift in two operations so that if sizeof (long)		   == sizeof (LONGEST) we can avoid warnings from		   picky compilers about shifts >= the size of the		   shiftee in bits */		unsigned long vbot = (unsigned long) val_long;		LONGEST temp = (val_long >> (sizeof (long) * HOST_CHAR_BIT - 1));		unsigned long vtop = temp >> 1;		fprintf_filtered (stream, "0x%lx%08lx", vtop, vbot);		return;	      }	    break;	  }	}    }#endif#if defined (CC_HAS_LONG_LONG) && defined (PRINTF_HAS_LONG_LONG)  switch (format)    {    case 'd':      fprintf_filtered (stream,			use_local ? local_decimal_format_custom ("ll")			: "%lld",			(long long) val_long);      break;    case 'u':      fprintf_filtered (stream, "%llu", (long long) val_long);      break;    case 'x':      fprintf_filtered (stream,			use_local ? local_hex_format_custom ("ll")			: "%llx",			(unsigned long long) val_long);      break;    case 'o':      fprintf_filtered (stream,			use_local ? local_octal_format_custom ("ll")			: "%llo",			(unsigned long long) val_long);      break;    case 'b':      fprintf_filtered (stream, local_hex_format_custom ("02ll"), val_long);      break;    case 'h':      fprintf_filtered (stream, local_hex_format_custom ("04ll"), val_long);      break;    case 'w':      fprintf_filtered (stream, local_hex_format_custom ("08ll"), val_long);      break;    case 'g':      fprintf_filtered (stream, local_hex_format_custom ("016ll"), val_long);      break;    default:      internal_error (__FILE__, __LINE__, "failed internal consistency check");    }#else /* !CC_HAS_LONG_LONG || !PRINTF_HAS_LONG_LONG */  /* In the following it is important to coerce (val_long) to a long. It does     nothing if !LONG_LONG, but it will chop off the top half (which we know     we can ignore) if the host supports long longs.  */  switch (format)    {    case 'd':      fprintf_filtered (stream,			use_local ? local_decimal_format_custom ("l")			: "%ld",			(long) val_long);      break;    case 'u':      fprintf_filtered (stream, "%lu", (unsigned long) val_long);      break;    case 'x':      fprintf_filtered (stream,			use_local ? local_hex_format_custom ("l")			: "%lx",			(unsigned long) val_long);      break;    case 'o':      fprintf_filtered (stream,			use_local ? local_octal_format_custom ("l")			: "%lo",			(unsigned long) val_long);      break;    case 'b':      fprintf_filtered (stream, local_hex_format_custom ("02l"),			(unsigned long) val_long);      break;    case 'h':      fprintf_filtered (stream, local_hex_format_custom ("04l"),			(unsigned long) val_long);      break;    case 'w':      fprintf_filtered (stream, local_hex_format_custom ("08l"),			(unsigned long) val_long);      break;    case 'g':      fprintf_filtered (stream, local_hex_format_custom ("016l"),			(unsigned long) val_long);      break;    default:      internal_error (__FILE__, __LINE__, "failed internal consistency check");    }#endif /* CC_HAS_LONG_LONG || PRINTF_HAS_LONG_LONG */}