This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] Make mips_final_postscan_insn static


This fixes a bootstrap failure due to a new warning:

  ../../src/gcc/config/mips/mips.c:14723: error: no previous prototype for 'mips_final_postscan_insn'

This function is only used in the target structure so it can be static.

Bootstrap is in stage 3 now.

Committed as r146304.

Adam


2009-04-18  Adam Nemet  <anemet@caviumnetworks.com>

	* config/mips/mips.c (mips_final_postscan_insn): Make it static.

Index: mips.c
===================================================================
--- mips.c	(revision 146303)
+++ mips.c	(working copy)
@@ -14719,7 +14719,7 @@ mips_final_prescan_insn (rtx insn, rtx *
 
 /* Implement TARGET_ASM_FINAL_POSTSCAN_INSN.  */
 
-void
+static void
 mips_final_postscan_insn (FILE *file, rtx insn, rtx *opvec, int noperands)
 {
   int i;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]