diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-05 12:33:52 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-05 12:33:52 +0000 |
commit | a4de34794009a769e55499ecf5be995c5e900f4b (patch) | |
tree | 7e4bf48789796b86d77591ca4da107c9beef9a75 /gcc/gcc.c | |
parent | 594d10747e9c8d38fcf98f250653e7b11e240914 (diff) | |
download | gcc-a4de34794009a769e55499ecf5be995c5e900f4b.tar.gz |
* gcc/gcc.c (asm_debug): Move initialization ...
(init_spec): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55259 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index c980fc0bb4e..d0f0ea3e138 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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]; |