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]

[PATCH] Fix irix bootstrap failure in ssa-ccp.c


Irix6.5 bootstrap with cc fails with

"/exd4/billingd/src/gcc-mainline/gcc/ssa-ccp.c", line 1127: error(1153): 
          declaration is incompatible with previous "ssa_fast_dce" (declared
          at line 979)
  ssa_fast_dce (df)
  ^

The obvious fix is attached.  Please apply if OK


2001-07-10  David Billinghurst <David.Billinghurst@riotinto.com>

	* ssa-ccp.c: Add prototype for ssa_fast_dce 


Index: ssa-ccp.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ssa-ccp.c,v
retrieving revision 1.1
diff -u -r1.1 ssa-ccp.c
--- ssa-ccp.c   2001/07/09 19:47:27     1.1
+++ ssa-ccp.c   2001/07/10 00:28:58
@@ -133,6 +133,7 @@
 static void optimize_unexecutable_edges PARAMS ((struct edge_list *,
sbitmap));
 static void ssa_ccp_substitute_constants PARAMS ((void));
 static void ssa_ccp_df_delete_unreachable_insns PARAMS ((void));
+static void ssa_fast_dce PARAMS ((struct df *));
 
 /* Return the first PHI node in a basic block.  This routine knows
    what INSNs can start a basic block and what can validly follow


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