]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
combine.c (combine_instructions): Make it static.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 16 Jan 2006 13:48:15 +0000 (13:48 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 16 Jan 2006 13:48:15 +0000 (13:48 +0000)
* combine.c (combine_instructions): Make it static.
* rtl.h: Remove the prototype for combine_instructions.

From-SVN: r109746

gcc/ChangeLog
gcc/combine.c
gcc/rtl.h

index 5f39173c15a6d65d95cdea8c342fa0e84de4a815..e4c1b1b7bc328d65addd1608e1dd6f2e4babfa6f 100644 (file)
@@ -3,6 +3,9 @@
        * cse.c (cse_condition_code_reg): Make it static.
        * rtl.h: Remove the prototype for cse_condition_code_reg.
 
+       * combine.c (combine_instructions): Make it static.
+       * rtl.h: Remove the prototype for combine_instructions.
+
 2006-01-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        PR target/25168
index 3b1fd77605e4e2cd256beadcf434e78f547d128f..16bb99c1b3a6353d3fb35e9b999bf23d6707e755 100644 (file)
@@ -685,7 +685,7 @@ combine_validate_cost (rtx i1, rtx i2, rtx i3, rtx newpat, rtx newi2pat)
 
    Return nonzero if the combiner has turned an indirect jump
    instruction into a direct jump.  */
-int
+static int
 combine_instructions (rtx f, unsigned int nregs)
 {
   rtx insn, next;
index 78b0b45a6fcd3f98f447f1e78476f7534df39a76..673923e07f55b6a044167336f195c5cce322645e 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1971,7 +1971,6 @@ extern bool validate_subreg (enum machine_mode, enum machine_mode,
                             rtx, unsigned int);
 
 /* In combine.c */
-extern int combine_instructions (rtx, unsigned int);
 extern unsigned int extended_count (rtx, enum machine_mode, int);
 extern rtx remove_death (unsigned int, rtx);
 extern void dump_combine_stats (FILE *);