summaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-09 16:31:53 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-09 16:31:53 +0000
commit917938feecdaa037a6e258e511bdb1a17aa8a130 (patch)
tree2612c00ba3fd0d0772838493d20ed0302595f51b /gcc/genemit.c
parentef624d6678e9009316f62c21a0d4df195d0b45f1 (diff)
downloadgcc-917938feecdaa037a6e258e511bdb1a17aa8a130.tar.gz
* 1750a.md: Add default case in switch.
* alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in if-else statement. * dsp16xx.c (print_operand_address): Likewise. * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify. * ia64.md: Add missing braces. * rs6000-protos.h (s8bit_cint_operand): Prototype. * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in if-else statement. * stormy16.h (REG_CLASS_CONTENTS): Add missing braces. * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'. * dbxout.c (dbxout_source_file): Move a variable into the scope where it is used. * final.c (profile_function): Mark parameter with ATTRIBUTE_UNUSED. * genemit.c (gen_expand): Likewise for generated file. * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47812 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 86c852c2f51..712dd24e38b 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -464,7 +464,7 @@ gen_expand (expand)
for (i = operands; i <= max_dup_opno; i++)
printf (" rtx operand%d;\n", i);
for (; i <= max_scratch_opno; i++)
- printf (" rtx operand%d;\n", i);
+ printf (" rtx operand%d ATTRIBUTE_UNUSED;\n", i);
printf (" rtx _val = 0;\n");
printf (" start_sequence ();\n");