Hi!

I currently see

        warning: implicit declaration of function ‘frv_ifcvt_machdep_init’

while gcc/ifcvt.c and

        warning: no previous prototype for ‘frv_ifcvt_machdep_init’

while gcc/config/frv/frv.c are built.  The following patch fixes it.

MfG, JBG

gcc/
2012-07-21  Jan-Benedict Glaw  <jbg...@lug-owl.de>
        * config/frv/frv-protos.h: Update copyright year,
        include basic-block.h (for ce_if_block_t).
        (frv_ifcvt_machdep_init): Declare.


diff --git a/gcc/config/frv/frv-protos.h b/gcc/config/frv/frv-protos.h
index 62e2506..97d6730 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.
 
@@ -21,11 +21,13 @@ along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
 /* Define functions defined in frv.c */
+#include "basic-block.h"
 extern void frv_expand_prologue                        (void);
 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             (ce_if_block_t *ce_info 
ATTRIBUTE_UNUSED);
 
 #ifdef RTX_CODE
 extern int frv_legitimate_address_p_1          (enum machine_mode, rtx,




-- 
      Jan-Benedict Glaw      jbg...@lug-owl.de              +49-172-7608481
Signature of:                 Gib Dein Bestes. Dann übertriff Dich selbst!
the second  :

Attachment: signature.asc
Description: Digital signature

Reply via email to