More format extensions tests
Jeffrey A Law
law@cygnus.com
Fri Aug 25 07:55:00 GMT 2000
In message <Pine.LNX.4.21.0008250235370.28994-100000@kern.srcf.societies.cam.
ac.uk>you write:
> This patch disallows format width and flags on the strftime "z" format
> (glibc doesn't do anything sensible with them), and adds more tests
> for format checking extensions. With these testcases, I think that
> the 2200 lines of format checking testcases are now thorough enough to
> start reorganising and cleaning up parts of format checking without
> breaking it.
>
> Bootstrapped with no regressions on i686-pc-linux-gnu. With this
> patch applied, all the tests in it pass. OK to commit?
>
> gcc/ChangeLog:
> 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * c-common.c (time_char_table): Don't allow width and flags with
> "z" format.
>
> gcc/testsuite/ChangeLog:
> 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * gcc.dg/format-ext-3.c, gcc.dg/format-ext-4.c,
> gcc.dg/format-ext-5.c: New tests.
This is fine. Please install this patch.
Thanks,
jeff
More information about the Gcc-patches
mailing list