summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-16 15:37:57 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-16 15:37:57 +0000
commit38ac91bf63ac10b9412e9d352cdf5b68e346a318 (patch)
tree8e1daad7c2e283ef9a752a13edb569be18027b32 /gcc/genemit.c
parentaed1dced6148646b808a87afd044b608c1a67b4c (diff)
downloadgcc-38ac91bf63ac10b9412e9d352cdf5b68e346a318.tar.gz
* dbxout.c (lastfile, cwd): Fix `unused' warning.
* dwarf2out.c (fde_table_in_use, current_funcdef_fde, dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset, is_main_source, file_table, decl_die_table_in_use, abbrev_die_table_in_use, line_info_table_in_use, separate_line_info_table_in_use, pubname_table_in_use, arange_table_in_use, ranges_table_in_use, current_function_has_inlines): Likewise. * flow.c (life_analysis): Likewise. * genemit.c (gen_insn): Likewise. * protoize.c (cplus_suffix): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61392 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index cb15f699d29..b86dc994419 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -404,7 +404,7 @@ gen_insn (insn, lineno)
printf ("operand%d", i);
printf (")\n");
for (i = 0; i < operands; i++)
- printf (" rtx operand%d;\n", i);
+ printf (" rtx operand%d ATTRIBUTE_UNUSED;\n", i);
printf ("{\n");
/* Output code to construct and return the rtl for the instruction body */