summaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-08-20 00:55:22 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-08-20 00:55:22 +0000
commit2bf087c09eb697b798574e77845466d248381bc6 (patch)
tree1b66370c036a1a6674a993e068310b84f41b0ddc /gcc/genautomata.c
parent1860e6ab056942060d4f9d326cb74d6bac640200 (diff)
downloadgcc-2bf087c09eb697b798574e77845466d248381bc6.tar.gz
genautomata.c (output_translate_vect, [...]): Mark variable with ATTRIBUTE_UNUSED in output file.
* genautomata.c (output_translate_vect, output_state_ainsn_table, output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED in output file. (output_internal_min_issue_delay_func): Initialize variable in output file. From-SVN: r56450
Diffstat (limited to 'gcc/genautomata.c')
-rw-r--r--gcc/genautomata.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index 9fd1e836d89..aaf6203485d 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -7278,7 +7278,7 @@ output_translate_vect (automaton)
output_range_type (output_file, 0, automaton->insn_equiv_classes_num);
fprintf (output_file, " ");
output_translate_vect_name (output_file, automaton);
- fprintf (output_file, "[] = {\n");
+ fprintf (output_file, "[] ATTRIBUTE_UNUSED = {\n");
output_vect (VLA_HWINT_BEGIN (translate_vect),
VLA_HWINT_LENGTH (translate_vect));
fprintf (output_file, "};\n\n");
@@ -7349,7 +7349,7 @@ output_state_ainsn_table (tab, table_name, output_full_vect_name_func,
tab->max_comb_vect_el_value);
fprintf (output_file, " ");
(*output_full_vect_name_func) (output_file, tab->automaton);
- fprintf (output_file, "[] = {\n");
+ fprintf (output_file, "[] ATTRIBUTE_UNUSED = {\n");
output_vect (VLA_HWINT_BEGIN (tab->full_vect),
VLA_HWINT_LENGTH (tab->full_vect));
fprintf (output_file, "};\n\n");
@@ -7362,7 +7362,7 @@ output_state_ainsn_table (tab, table_name, output_full_vect_name_func,
tab->max_comb_vect_el_value);
fprintf (output_file, " ");
(*output_comb_vect_name_func) (output_file, tab->automaton);
- fprintf (output_file, "[] = {\n");
+ fprintf (output_file, "[] ATTRIBUTE_UNUSED = {\n");
output_vect (VLA_HWINT_BEGIN (tab->comb_vect),
VLA_HWINT_LENGTH (tab->comb_vect));
fprintf (output_file, "};\n\n");
@@ -7779,7 +7779,7 @@ output_min_issue_delay_table (automaton)
output_range_type (output_file, 0, automaton->max_min_delay);
fprintf (output_file, " ");
output_min_issue_delay_vect_name (output_file, automaton);
- fprintf (output_file, "[] = {\n");
+ fprintf (output_file, "[] ATTRIBUTE_UNUSED = {\n");
/* Compress the vector */
if (automaton->max_min_delay < 2)
automaton->min_issue_delay_table_compression_factor = 8;
@@ -8091,7 +8091,7 @@ output_internal_min_issue_delay_func ()
INTERNAL_MIN_ISSUE_DELAY_FUNC_NAME, INTERNAL_INSN_CODE_NAME,
CHIP_PARAMETER_NAME, INTERNAL_INSN_CODE_NAME, CHIP_NAME,
CHIP_PARAMETER_NAME);
- fprintf (output_file, "{\n int %s ATTRIBUTE_UNUSED;\n int %s;\n",
+ fprintf (output_file, "{\n int %s ATTRIBUTE_UNUSED;\n int %s = -1;\n",
TEMPORARY_VARIABLE_NAME, RESULT_VARIABLE_NAME);
fprintf (output_file, "\n switch (%s)\n {\n", INTERNAL_INSN_CODE_NAME);
output_insn_code_cases (output_automata_list_min_issue_delay_code);