Support for %d$c format specifier in diagnostics.c

Neil Booth neil@daikokuya.co.uk
Thu Jul 10 06:39:00 GMT 2003


Ishikawa wrote:-

> As I dive through the code, I think I found a bug in
> the original code.
> 
> Original BUG (?) found.
>  Near line 517 of diagnostic.c , "u" ought to be "o"';
>        case 'o':
>           if (wide)
>             output_formatted_scalar
>               (buffer, "%" HOST_WIDE_INT_PRINT "o",
>                va_arg (*text->args_ptr, unsigned HOST_WIDE_INT));
>           else
>             output_integer_with_precision
> Here --->      (buffer, *text->args_ptr, precision, unsigned, "u");
> 	  break;

This looks software generated.  What generated this?

Neil.



More information about the Gcc mailing list