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]

fix for HPPA bootstrap problems


This should fix the problems with bootstrap on targets that define
MODIFY_TARGET_NAME (currently only HP/PA).  Tested by building xgcc
for a cross compiler to hppa1.1-hp-hpux11, and committed under obvious
bugfix rule.

Can someone with an HP confirm this fixes the problem?

zw

	* gcc.c (process_command): Define 'j' variable when
	MODIFY_TARGET_NAME is defined.

===================================================================
Index: gcc.c
--- gcc.c	2000/11/14 17:06:05	1.178
+++ gcc.c	2000/11/19 19:25:41
@@ -2886,6 +2886,7 @@ process_command (argc, argv)
   int lang_n_infiles = 0;
 #ifdef MODIFY_TARGET_NAME
   int is_modify_target_name;
+  int j;
 #endif
 
   GET_ENV_PATH_LIST (gcc_exec_prefix, "GCC_EXEC_PREFIX");

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