This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: printf 'I' flag patch
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: printf 'I' flag patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 23 Aug 2000 11:25:07 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.LNX.4.21.0008230154240.32568-100000@kern.srcf.societies.cam.
ac.uk>you write:
> This patch adds support for glibc's 'I' printf flag (use locale's
> digits for decimal integers), and adds some more tests.
>
> Bootstrapped with no regressions on i686-pc-linux-gnu. With this
> patch applied, the tests in it all pass. OK to commit?
>
> gcc/ChangeLog:
> 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
> %u.
> (check_format_info): Support printf 'I' flag; warn about it with
> -pedantic.
>
> gcc/testsuite/ChangeLog:
> 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * gcc.dg/c99-printf-2.c, gcc.dg/format-xopen-1.c: Add some more
> tests.
> * gcc.dg/format-ext-1.c: New test.
This is fine. Please install this patch.
jeff