This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000_{init,free}_machine_status missing prototypes
- To: dje at watson dot ibm dot com, geoffk at redhat dot com
- Subject: Re: rs6000_{init,free}_machine_status missing prototypes
- From: Nick Clifton <nickc at redhat dot com>
- Date: Wed, 17 Jan 2001 14:32:28 -0800
- CC: gcc-patches at gcc dot gnu dot org
Hi Guys,
: > When you converted the rs6000 port to use the new machine status
: > infrastructure, you did not include prototypes for the static functions.
: > This has introduced new warnings.
:
: Tsk, tsk, tsk. Naughty Nick :-).
Naught me :-(
OK, I will check in the patch below under the obviously correct rule.
I though about trying to fix up all the other compile time warnings
when building rs6000.c, but I do not know the official way to
workaround warnings like:
rs6000.c:3904: warning: integer constant is unsigned in ANSI C, signed with -traditional
Cheers
Nick
2001-01-17 Nick Clifton <nickc@redhat.com>
* config/rs6000/rs6000.c: Add prototypes for {init|free}_
machine_status.
Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.158
diff -p -r1.158 rs6000.c
*** rs6000.c 2001/01/09 19:38:25 1.158
--- rs6000.c 2001/01/17 22:22:34
*************** static int toc_hash_eq PARAMS ((const vo
*** 120,125 ****
--- 120,127 ----
static int toc_hash_mark_entry PARAMS ((void **, void *));
static void toc_hash_mark_table PARAMS ((void *));
static int constant_pool_expr_1 PARAMS ((rtx, int *, int *));
+ static void rs6000_free_machine_status (struct function *);
+ static void rs6000_init_machine_status (struct function *);
/* Default register names. */
char rs6000_reg_names[][8] =