This is the mail archive of the gcc@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]
Other format: [Raw text]

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


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.


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