This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix for HPPA bootstrap problems
- To: gcc-patches at gcc dot gnu dot org
- Subject: fix for HPPA bootstrap problems
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Sun, 19 Nov 2000 11:29:50 -0800
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");