summaryrefslogtreecommitdiff
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-01-09 14:23:35 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-01-09 14:23:35 +0000
commit0ce8a59c2bdc5442a0fbd1bc8859c239f8aeb56b (patch)
tree75b0e77395b3484b3774824792bfef303b7801ce /gcc/genrecog.c
parent975ab1312f8486b7b950dba91733bf81222ecb86 (diff)
downloadgcc-0ce8a59c2bdc5442a0fbd1bc8859c239f8aeb56b.tar.gz
elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value.
* elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth value. * function.c (assign_temp): Mark parameter `dont_promote' with ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro PROMOTE_FOR_CALL_ONLY. * genrecog.c (write_subroutine): Mark variable `operands' with ATTRIBUTE_UNUSED. * optabs.c (prepare_cmp_insn): Mark parameter `align' with ATTRIBUTE_UNUSED. * sdbout.c (sdbout_init): Likewise for parameter `asm_file'. (sdbout_begin_block, sdbout_end_block): Likewise for `file'. * toplev.c (note_deferral_of_defined_inline_function): Likewise for `decl'. From-SVN: r31293
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r--gcc/genrecog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 243eafa6298..ce5f9104bf6 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -2197,7 +2197,7 @@ peephole2%s (x0, insn, _plast_insn)\n\
break;
}
- printf ("{\n register rtx * const operands = &recog_data.operand[0];\n");
+ printf ("{\n register rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];\n");
for (i = 1; i <= max_depth; i++)
printf (" register rtx x%d ATTRIBUTE_UNUSED;\n", i);