From 0ce8a59c2bdc5442a0fbd1bc8859c239f8aeb56b Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 9 Jan 2000 14:23:35 +0000 Subject: 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 --- gcc/genrecog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/genrecog.c') diff --git a/gcc/genrecog.c b/gcc/genrecog.c index 243eafa..ce5f9104 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); -- cgit v1.1