This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Support for %d$c format specifier in diagnostics.c
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Ishikawa <ishikawa at yk dot rim dot or dot jp>
- Cc: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>,Zack Weinberg <zack at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 10 Jul 2003 06:27:59 +0100
- Subject: Re: Support for %d$c format specifier in diagnostics.c
- References: <m19WKhW-000H3mC@standard.erephon> <20030628193135.GA1767@daikokuya.co.uk> <87llvlk3gi.fsf@egil.codesourcery.com> <3EFE65DC.52576EC7@yk.rim.or.jp> <87vfupiglu.fsf@egil.codesourcery.com> <3EFEE0EF.C560ED1A@yk.rim.or.jp> <87isqoiwng.fsf@egil.codesourcery.com> <3F061172.814BA7A0@yk.rim.or.jp> <Pine.LNX.4.56.0307051127540.6302@kern.srcf.societies.cam.ac.uk> <3F0CA938.1FA02D3E@yk.rim.or.jp>
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.