diff options
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index ad692eb5b32..693ad5dbd79 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -5964,11 +5964,17 @@ main (argc, argv) /* Ok, we found an applicable compiler. Run its spec. */ if (input_file_compiler->spec[0] == '#') - error ("%s: %s compiler not installed on this system", - input_filename, &input_file_compiler->spec[1]); - value = do_spec (input_file_compiler->spec); - if (value < 0) - this_file_error = 1; + { + error ("%s: %s compiler not installed on this system", + input_filename, &input_file_compiler->spec[1]); + this_file_error = 1; + } + else + { + value = do_spec (input_file_compiler->spec); + if (value < 0) + this_file_error = 1; + } } /* If this file's name does not contain a recognized suffix, |