diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-06-30 00:31:21 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-06-30 00:31:21 +0000 |
commit | 280c1e0d2363f8c7ad25d623123421e9b42f4722 (patch) | |
tree | 8a17e7fe4aba72658d0e9aef9464d1878f0b087b /gcc/reload1.c | |
parent | 54bbcbd99db9ba3520ceef2912aca9c895e89bf3 (diff) | |
download | gcc-280c1e0d2363f8c7ad25d623123421e9b42f4722.zip gcc-280c1e0d2363f8c7ad25d623123421e9b42f4722.tar.gz gcc-280c1e0d2363f8c7ad25d623123421e9b42f4722.tar.bz2 |
builtin-attrs.def (gcc_diag, [...]): New format attributes.
gcc:
* builtin-attrs.def (gcc_diag, gcc_cdiag, gcc_cxxdiag): New
format attributes.
* c-format.c (enum format_type): Add gcc_diag_format_type,
gcc_cdiag_format_type, and gcc_cxxdiag_format_type.
(gcc_diag_length_specs, gcc_cdiag_length_specs,
gcc_cxxdiag_length_specs, gcc_diag_flag_pairs,
gcc_cdiag_flag_pairs, gcc_cxxdiag_flag_pairs, gcc_diag_flag_specs,
gcc_cdiag_flag_specs, gcc_cxxdiag_flag_specs, gcc_diag_char_table,
gcc_cdiag_char_table, gcc_cxxdiag_char_table): New.
(format_types_orig): Add new data.
(find_char_info_specifier_index, init_dynamic_diag_info): New
functions.
(handle_format_attribute): Update to handle new format attributes.
testsuite:
* gcc.dg/format/gcc_diag-1.c: New test.
From-SVN: r68689
Diffstat (limited to 'gcc/reload1.c')
0 files changed, 0 insertions, 0 deletions