diff options
author | Zack Weinberg <zack@codesourcery.com> | 2001-10-06 08:01:50 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-10-06 08:01:50 +0000 |
commit | d644be7b4c9aba239a4ce9b29375cbff27705746 (patch) | |
tree | f29e81cbb2cd2ee92e51aa3fe03f522b99bf7988 /gcc/gcc.c | |
parent | 68f589c8536025b1c654653c7029032788bd28b1 (diff) | |
download | gcc-d644be7b4c9aba239a4ce9b29375cbff27705746.tar.gz |
gcc.c (main): Set this_file_error if the appropriate compiler for a language has not been...
* gcc.c (main): Set this_file_error if the appropriate
compiler for a language has not been installed.
From-SVN: r46049
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, |