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]

egcs-CVS19980617, bootstrap failure on SunOS4, + patch


	When compiling an egcs CVS checkout from today (6/17/98) I get
the following bootstrap failure on SunOS4:


 > cc -c -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -I. -I. -I./config
 > regmove.c
 > "regmove.c", line 540: redeclaration of copy_src_to_dest
 > make[2]: *** [regmove.o] Error 1


	Here is a patch.  Okay to install?

		--Kaveh



Wed Jun 17 16:27:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* regmove.c (copy_src_to_dest): Make function static to match its
	prototype.

--- gcc/regmove.c~	Wed Jun 17 14:41:12 1998
+++ gcc/regmove.c	Wed Jun 17 16:23:35 1998
@@ -535,7 +535,7 @@
 /* If we were not able to update the users of src to use dest directly, try
    instead moving the value to dest directly before the operation.  */
 
-void
+static void
 copy_src_to_dest (insn, src, dest, loop_depth)
      rtx insn;
      rtx src;


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