diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2002-07-05 12:33:52 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2002-07-05 12:33:52 +0000 |
commit | 81bca2f51e9b8346f6ff2a66b8b8743f2862b7af (patch) | |
tree | 7e4bf48789796b86d77591ca4da107c9beef9a75 | |
parent | 17f44f02e70c4157bb90ddc62e2bf665151d5995 (diff) | |
download | gcc-81bca2f51e9b8346f6ff2a66b8b8743f2862b7af.zip gcc-81bca2f51e9b8346f6ff2a66b8b8743f2862b7af.tar.gz gcc-81bca2f51e9b8346f6ff2a66b8b8743f2862b7af.tar.bz2 |
gcc.c (asm_debug): Move initialization ...
* gcc/gcc.c (asm_debug): Move initialization ...
(init_spec): ... here.
From-SVN: r55259
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gcc.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b412cd..6c2b06e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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 ';'. @@ -646,7 +646,7 @@ proper position among the other output files. */ # 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; @@ -1483,6 +1483,10 @@ init_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]; |