diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-22 05:23:33 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-06-22 05:23:33 +0000 |
commit | ad6c9a5853f72263ee79ceb7afb39e37e8697d85 (patch) | |
tree | 279c567a607717883b54fd2f58e33c32342072aa /gcc/genpeep.c | |
parent | 9e2d273738166a11573320e220897da1bda74de1 (diff) | |
download | gcc-ad6c9a5853f72263ee79ceb7afb39e37e8697d85.tar.gz |
Warning fixes:
* Makefile.in (varasm.o): Depend on sdbout.h.
(sdbout.o): Depend on toplev.h.
* collect2.c (scan_prog_file): Cast fprintf argument to `long' and
use %ld specifier.
* final.c (shorten_branches): Cast first arg of `bzero' to char *.
* genextract.c (main): When creating insn-extract.c, mark variable
`i' with ATTRIBUTE_UNUSED.
* genpeep.c (main): When creating insn-peep.c, mark variables
`insn', `x' and `pat' with ATTRIBUTE_UNUSED.
* objc/init.c (__objc_tree_print): Wrap function definition in
macro `DEBUG'.
* objc/objc-act.c (encode_array): Cast sprintf argument to `long'
and use %ld specifier.
(adorn_decl): Likewise, twice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genpeep.c')
-rw-r--r-- | gcc/genpeep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c index fd3939843bb..ab65df7b5af 100644 --- a/gcc/genpeep.c +++ b/gcc/genpeep.c @@ -481,7 +481,7 @@ from the machine description file `md'. */\n\n"); printf ("#define operands peep_operand\n\n"); printf ("rtx\npeephole (ins1)\n rtx ins1;\n{\n"); - printf (" rtx insn, x, pat;\n\n"); + printf (" rtx insn ATTRIBUTE_UNUSED, x ATTRIBUTE_UNUSED, pat ATTRIBUTE_UNUSED;\n\n"); /* Early out: no peepholes for insns followed by barriers. */ printf (" if (NEXT_INSN (ins1)\n"); |