This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed for missing v850 prototype
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 15 Sep 2002 16:47:10 -0400 (EDT)
- Subject: Patch installed for missing v850 prototype
Fixes:
> v850.c:719: warning: function declaration isn't a prototype
> final.c:3646: warning: implicit declaration of function `v850_output_addr_const_extra'
Tested by cross-compiling cc1 to:
v850-unknown-rtems v850-unknown-elf v850e-unknown-elf
Installed as obvious.
2002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* v850-protos.h (v850_output_addr_const_extra): Prototype.
diff -rup orig/egcc-bib-CVS20020914/gcc/config/v850/v850-protos.h egcc-bib-CVS20020914/gcc/config/v850/v850-protos.h
--- orig/egcc-bib-CVS20020914/gcc/config/v850/v850-protos.h 2002-09-05 16:04:05.000000000 -0400
+++ egcc-bib-CVS20020914/gcc/config/v850/v850-protos.h 2002-09-15 15:44:49.306310321 -0400
@@ -42,6 +42,7 @@ extern int compute_frame_size
extern void v850_init_expanders PARAMS ((void));
#ifdef RTX_CODE
+extern int v850_output_addr_const_extra PARAMS ((FILE *, rtx));
extern rtx v850_return_addr PARAMS ((int));
extern void print_operand PARAMS ((FILE *, rtx, int ));
extern void print_operand_address PARAMS ((FILE *, rtx));