diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/gcc.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c00d0b..6db268f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-11-16 Jakub Jelinek <jakub@redhat.com> + + PR driver/30460 + * gcc.c (init_spec): Don't initialize asm_debug here... + (main): ... but here. + 2007-11-07 Tom Tromey <tromey@redhat.com> * tree-ssa-structalias.c (ipa_pta_execute): Rename 'cfun' to @@ -1719,10 +1719,6 @@ init_spec (void) } #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]; @@ -6134,6 +6130,10 @@ main (int argc, char **argv) struct user_specs *uptr; char **old_argv = argv; + /* Initialize here, not in definition. The IRIX 6 O32 cc sometimes chokes + on ?: in file-scope variable initializations. */ + asm_debug = ASM_DEBUG_SPEC; + p = argv[0] + strlen (argv[0]); while (p != argv[0] && !IS_DIR_SEPARATOR (p[-1])) --p; |