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
This commit is contained in:
parent
5d243e08b8
commit
e2ff6ceeae
@ -1,3 +1,9 @@
|
||||
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)
|
||||
|
||||
* pa.c (hppa_profile_hook): Use force_reg to get the address
|
||||
|
@ -7741,11 +7741,11 @@ output_internal_min_issue_delay_func ()
|
||||
fprintf (output_file, "static int %s PARAMS ((int, struct %s *));\n",
|
||||
INTERNAL_MIN_ISSUE_DELAY_FUNC_NAME, CHIP_NAME);
|
||||
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,
|
||||
CHIP_PARAMETER_NAME, INTERNAL_INSN_CODE_NAME, CHIP_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);
|
||||
fprintf (output_file, "\n switch (%s)\n {\n", INTERNAL_INSN_CODE_NAME);
|
||||
output_insn_code_cases (output_automata_list_min_issue_delay_code);
|
||||
@ -7858,11 +7858,11 @@ output_internal_trans_func ()
|
||||
fprintf (output_file, "static int %s PARAMS ((int, struct %s *));\n",
|
||||
INTERNAL_TRANSITION_FUNC_NAME, CHIP_NAME);
|
||||
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,
|
||||
CHIP_PARAMETER_NAME, INTERNAL_INSN_CODE_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);
|
||||
output_insn_code_cases (output_automata_list_transition_code);
|
||||
fprintf (output_file, "\n default:\n return -1;\n }\n");
|
||||
|
Loading…
Reference in New Issue
Block a user