summaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-20 00:55:22 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-20 00:55:22 +0000
commit72d3c9a06dfc8227e1490f9e3d204101cb270e78 (patch)
tree1b66370c036a1a6674a993e068310b84f41b0ddc /gcc/genautomata.c
parentb3c7be6760c0f40d917caa2e0736f2b5840e4da4 (diff)
downloadgcc-72d3c9a06dfc8227e1490f9e3d204101cb270e78.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56450 138bc75d-0d04-0410-961f-82ee72b054a4
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);