From afa6353225e54c18154b3a144e3d3596f2169d77 Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Mon, 23 Jul 2012 14:11:39 +0000 Subject: [PATCH] frv-protos.h (frv_ifcvt_machdep_init): Prototype. * config/frv/frv-protos.h (frv_ifcvt_machdep_init): Prototype. * config/frv/frv.c (frv_ifcvt_machdep_init): Change type of (unused) parameter to void *. Co-Authored-By: Nick Clifton From-SVN: r189783 --- gcc/ChangeLog | 7 +++++++ gcc/config/frv/frv-protos.h | 3 ++- gcc/config/frv/frv.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e46c5c..4ffeb4e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2012-07-23 Jan-Benedict Glaw + Nick Clifton + + * config/frv/frv-protos.h (frv_ifcvt_machdep_init): Prototype. + * config/frv/frv.c (frv_ifcvt_machdep_init): Change type of + (unused) parameter to void *. + 2012-07-23 Richard Guenther * tree-ssa-alias.c (dump_alias_info): Walk over local decls diff --git a/gcc/config/frv/frv-protos.h b/gcc/config/frv/frv-protos.h index 62e2506..4ee2d04 100644 --- a/gcc/config/frv/frv-protos.h +++ b/gcc/config/frv/frv-protos.h @@ -1,6 +1,6 @@ /* Frv prototypes. Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010, - 2011 + 2011, 2012 Free Software Foundation, Inc. Contributed by Red Hat, Inc. @@ -26,6 +26,7 @@ extern void frv_expand_epilogue (bool); extern frv_stack_t *frv_stack_info (void); extern void frv_debug_stack (frv_stack_t *); extern int frv_initial_elimination_offset (int, int); +extern void frv_ifcvt_machdep_init (void *); #ifdef RTX_CODE extern int frv_legitimate_address_p_1 (enum machine_mode, rtx, diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 2880042..d06a4ed 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -5226,7 +5226,7 @@ frv_clear_registers_used (rtx *ptr, void *data) On the FR-V, we don't have any extra fields per se, but it is useful hook to initialize the static storage. */ void -frv_ifcvt_machdep_init (ce_if_block_t *ce_info ATTRIBUTE_UNUSED) +frv_ifcvt_machdep_init (void *ce_info ATTRIBUTE_UNUSED) { frv_ifcvt.added_insns_list = NULL_RTX; frv_ifcvt.cur_scratch_regs = 0; -- 2.7.4