diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2002-05-03 21:17:57 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2002-05-03 21:17:57 +0100 |
commit | 5a3085c52322177de6a1896d9c5388898b9daa54 (patch) | |
tree | 26076b1ab9508d93bec2ead731ea7f5f933b8074 /gcc/testsuite/gcc.dg/cpp/line3.c | |
parent | 0659e0e3df6a29122914540ea13e7373ec84ab8e (diff) | |
download | gcc-5a3085c52322177de6a1896d9c5388898b9daa54.zip gcc-5a3085c52322177de6a1896d9c5388898b9daa54.tar.gz gcc-5a3085c52322177de6a1896d9c5388898b9daa54.tar.bz2 |
re PR c/6547 (misleading printf '$' format)
* c-format.c (check_format_info_main): Don't check for presence of
parameter for * width until after operand number has been read,
and only check for it if format parameters are available.
Fixes PR c/6547.
testsuite:
* gcc.dg/format/xopen-2.c: New test.
From-SVN: r53118
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/line3.c')
0 files changed, 0 insertions, 0 deletions