diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2000-10-16 17:16:57 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2000-10-16 17:16:57 +0100 |
commit | 6d2e14543b118bc359e02b717ac3cd3bfe848e65 (patch) | |
tree | c38b5f553608d53530f6f9c8511b34ab9e116067 /gcc/print-rtl.c | |
parent | 406df25cbe134981a6f017739a268d2b04581ac5 (diff) | |
download | gcc-6d2e14543b118bc359e02b717ac3cd3bfe848e65.zip gcc-6d2e14543b118bc359e02b717ac3cd3bfe848e65.tar.gz gcc-6d2e14543b118bc359e02b717ac3cd3bfe848e65.tar.bz2 |
c-common.c (format_check_results): New structure.
* c-common.c (format_check_results): New structure.
(finish_dollar_format_checking): Adjust to take a
format_check_results * parameter.
(check_format_info, check_format_info_recurse,
check_format_info_main): Split check_format_info into three
functions, the main checking going in check_format_info_main.
Recurse when any reduction of the format string argument towards a
string literal is done; go down both branches of a conditional
expression. Don't warn for extra format arguments or empty format
strings if they only occur in some branches of a conditional
expression.
testsuite:
* gcc.dg/format-branch-1.c: New test.
From-SVN: r36883
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions