summaryrefslogtreecommitdiff
path: root/gcc/genextract.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r--gcc/genextract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c
index 295243d2010..c06a74ca639 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -480,7 +480,7 @@ from the machine description file `md'. */\n\n");
printf (" register rtx *ro = recog_operand;\n");
printf (" register rtx **ro_loc = recog_operand_loc;\n");
printf (" rtx pat = PATTERN (insn);\n");
- printf (" int i;\n\n");
+ printf (" int i ATTRIBUTE_UNUSED;\n\n");
printf (" switch (INSN_CODE (insn))\n");
printf (" {\n");
printf (" case -1:\n");