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]

[patch] ifcvt.c: Make if_convert static.


Hi,

Attached is a patch to make if_convert static.

Bootstrapped on x86_64-pc-linux-gnu.  Committed as preapproved.

Kazu Hirata

2006-01-16  Kazu Hirata  <kazu@codesourcery.com>

	* ifcvt.c (if_convert): Make it static.
	* rtl.h: Remove the prototype for if_convert.

Index: ifcvt.c
===================================================================
--- ifcvt.c	(revision 109741)
+++ ifcvt.c	(working copy)
@@ -3786,7 +3786,7 @@ dead_or_predicable (basic_block test_bb,
 
 /* Main entry point for all if-conversion.  */
 
-void
+static void
 if_convert (int x_life_data_ok)
 {
   basic_block bb;
Index: rtl.h
===================================================================
--- rtl.h	(revision 109742)
+++ rtl.h	(working copy)
@@ -2157,9 +2157,6 @@ extern GTY(()) rtx stack_limit_rtx;
 extern void regrename_optimize (void);
 extern void copyprop_hardreg_forward (void);
 
-/* In ifcvt.c */
-extern void if_convert (int);
-
 /* In predict.c */
 extern void invert_br_probabilities (rtx);
 extern bool expensive_function_p (int);


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