This is the mail archive of the 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: gcc/config/alpha/alpha.c

Bootstrap failing on alpha-unknown-freebsd4.7 ("static declared but
never defined") due to (or related change):
	* config/alpha/alpha.c (unicosmk_asm_file_end): Make static,
	rename unicosmk_file_end.

Seems obvious in light of -Werror regiment, but in case Zack/RTH
prefer another fix, I'll post.  OK for mainline?

	* config/alpha/alpha.c (unicosmk_file_end): Add conditional
	compilation guard.

Index: gcc/config/alpha/alpha.c
RCS file: /cvs/gcc/gcc/gcc/config/alpha/alpha.c,v
retrieving revision 1.310
diff -c -r1.310 alpha.c
*** gcc/config/alpha/alpha.c	8 Jun 2003 05:14:58 -0000	1.310
--- gcc/config/alpha/alpha.c	10 Jun 2003 06:42:07 -0000
*** 269,275 ****
--- 269,277 ----
  static void unicosmk_gen_dsib PARAMS ((unsigned long *imaskP));
  static void unicosmk_output_ssib PARAMS ((FILE *, const char *));
  static int unicosmk_need_dex PARAMS ((rtx));
  static void unicosmk_file_end PARAMS ((void));
+ #endif
  /* Get the number of args of a function in one of two ways.  */

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