c-common.c (time_char_table): Don't allow width and flags with "z" format.
authorJoseph Myers <jsm28@cam.ac.uk>
Fri, 25 Aug 2000 15:27:57 +0000 (16:27 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 25 Aug 2000 15:27:57 +0000 (16:27 +0100)
commit343b7260c6f4c4164fd65368a7d2391defcbd098
tree518850ff2e272e9d5d1d8fe45cb19896c30927f5
parent22efd68702b68b1f7577b1d96867ebb550dd1c5b
c-common.c (time_char_table): Don't allow width and flags with "z" format.

* c-common.c (time_char_table): Don't allow width and flags with
"z" format.

testsuite:
* gcc.dg/format-ext-3.c, gcc.dg/format-ext-4.c,
gcc.dg/format-ext-5.c: New tests.

From-SVN: r35984
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format-ext-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format-ext-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/format-ext-5.c [new file with mode: 0644]