Commit e2ff6cee by Andreas Jaeger

genautomata.c (output_internal_min_issue_delay_func): Add ATTRIBUTE_UNUSED to…

genautomata.c (output_internal_min_issue_delay_func): Add ATTRIBUTE_UNUSED to avoid warning with empty dfa.

	* genautomata.c (output_internal_min_issue_delay_func): Add
	ATTRIBUTE_UNUSED to avoid warning with empty dfa.
	(output_internal_trans_func): Likewise.

From-SVN: r53266
parent 5d243e08
2002-05-07 Andreas Jaeger <aj@suse.de>
* genautomata.c (output_internal_min_issue_delay_func): Add
ATTRIBUTE_UNUSED to avoid warning with empty dfa.
(output_internal_trans_func): Likewise.
Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com) Tue May 7 10:06:22 2002 Jeffrey A Law (law@redhat.com)
* pa.c (hppa_profile_hook): Use force_reg to get the address * pa.c (hppa_profile_hook): Use force_reg to get the address
......
...@@ -7741,11 +7741,11 @@ output_internal_min_issue_delay_func () ...@@ -7741,11 +7741,11 @@ output_internal_min_issue_delay_func ()
fprintf (output_file, "static int %s PARAMS ((int, struct %s *));\n", fprintf (output_file, "static int %s PARAMS ((int, struct %s *));\n",
INTERNAL_MIN_ISSUE_DELAY_FUNC_NAME, CHIP_NAME); INTERNAL_MIN_ISSUE_DELAY_FUNC_NAME, CHIP_NAME);
fprintf (output_file, fprintf (output_file,
"static int\n%s (%s, %s)\n\tint %s;\n\tstruct %s *%s;\n", "static int\n%s (%s, %s)\n\tint %s;\n\tstruct %s *%s ATTRIBUTE_UNUSED;\n",
INTERNAL_MIN_ISSUE_DELAY_FUNC_NAME, INTERNAL_INSN_CODE_NAME, INTERNAL_MIN_ISSUE_DELAY_FUNC_NAME, INTERNAL_INSN_CODE_NAME,
CHIP_PARAMETER_NAME, INTERNAL_INSN_CODE_NAME, CHIP_NAME, CHIP_PARAMETER_NAME, INTERNAL_INSN_CODE_NAME, CHIP_NAME,
CHIP_PARAMETER_NAME); CHIP_PARAMETER_NAME);
fprintf (output_file, "{\n int %s;\n int %s;\n", fprintf (output_file, "{\n int %s ATTRIBUTE_UNUSED;\n int %s;\n",
TEMPORARY_VARIABLE_NAME, RESULT_VARIABLE_NAME); TEMPORARY_VARIABLE_NAME, RESULT_VARIABLE_NAME);
fprintf (output_file, "\n switch (%s)\n {\n", INTERNAL_INSN_CODE_NAME); fprintf (output_file, "\n switch (%s)\n {\n", INTERNAL_INSN_CODE_NAME);
output_insn_code_cases (output_automata_list_min_issue_delay_code); output_insn_code_cases (output_automata_list_min_issue_delay_code);
...@@ -7858,11 +7858,11 @@ output_internal_trans_func () ...@@ -7858,11 +7858,11 @@ output_internal_trans_func ()
fprintf (output_file, "static int %s PARAMS ((int, struct %s *));\n", fprintf (output_file, "static int %s PARAMS ((int, struct %s *));\n",
INTERNAL_TRANSITION_FUNC_NAME, CHIP_NAME); INTERNAL_TRANSITION_FUNC_NAME, CHIP_NAME);
fprintf (output_file, fprintf (output_file,
"static int\n%s (%s, %s)\n\tint %s;\n\tstruct %s *%s;\n", "static int\n%s (%s, %s)\n\tint %s;\n\tstruct %s *%s ATTRIBUTE_UNUSED;\n",
INTERNAL_TRANSITION_FUNC_NAME, INTERNAL_INSN_CODE_NAME, INTERNAL_TRANSITION_FUNC_NAME, INTERNAL_INSN_CODE_NAME,
CHIP_PARAMETER_NAME, INTERNAL_INSN_CODE_NAME, CHIP_PARAMETER_NAME, INTERNAL_INSN_CODE_NAME,
CHIP_NAME, CHIP_PARAMETER_NAME); CHIP_NAME, CHIP_PARAMETER_NAME);
fprintf (output_file, "{\n int %s;\n", TEMPORARY_VARIABLE_NAME); fprintf (output_file, "{\n int %s ATTRIBUTE_UNUSED;\n", TEMPORARY_VARIABLE_NAME);
fprintf (output_file, "\n switch (%s)\n {\n", INTERNAL_INSN_CODE_NAME); fprintf (output_file, "\n switch (%s)\n {\n", INTERNAL_INSN_CODE_NAME);
output_insn_code_cases (output_automata_list_transition_code); output_insn_code_cases (output_automata_list_transition_code);
fprintf (output_file, "\n default:\n return -1;\n }\n"); fprintf (output_file, "\n default:\n return -1;\n }\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment