* gcc/gcc.c (asm_debug): Move initialization ...
(init_spec): ... here.
From-SVN: r55259
+2002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * gcc/gcc.c (asm_debug): Move initialization ...
+ (init_spec): ... here.
+
2002-07-05 Nathan Sidwell <nathan@codesourcery.com>
* c-parse.in (extdef): Append ';'.
# define STARTFILE_PREFIX_SPEC ""
#endif
-static const char *asm_debug = ASM_DEBUG_SPEC;
+static const char *asm_debug;
static const char *cpp_spec = CPP_SPEC;
static const char *cpp_predefines = CPP_PREDEFINES;
static const char *cc1_spec = CC1_SPEC;
}
#endif
+ /* Initialize here, not in definition. The IRIX 6 O32 cc sometimes chokes
+ on ?: in file-scope variable initializations. */
+ asm_debug = ASM_DEBUG_SPEC;
+
for (i = ARRAY_SIZE (static_specs) - 1; i >= 0; i--)
{
sl = &static_specs[i];