diff options
author | Caroline Tice <ctice@apple.com> | 2004-04-07 19:46:04 +0000 |
---|---|---|
committer | Caroline Tice <ctice@gcc.gnu.org> | 2004-04-07 12:46:04 -0700 |
commit | b21292d0bdd6529a63da68ae0798e300c17638e2 (patch) | |
tree | c84aa16c53fa27462b0ec12724a5360a3791a418 /gcc/gcc.c | |
parent | 2e55bbc120a09a500436c73d6d6f7bada8974ec0 (diff) | |
download | gcc-b21292d0bdd6529a63da68ae0798e300c17638e2.zip gcc-b21292d0bdd6529a63da68ae0798e300c17638e2.tar.gz gcc-b21292d0bdd6529a63da68ae0798e300c17638e2.tar.bz2 |
gcc.c (main): Move 'break' in main loops (on an error) to wait until error processing has...
2004-04-07 Caroline Tice <ctice@apple.com>
* gcc.c (main): Move 'break' in main loops (on an error)
to wait until error processing has occurred.
From-SVN: r80483
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -6425,10 +6425,7 @@ main (int argc, const char **argv) infiles[i].language); if (value < 0) - { - this_file_error = 1; - break; - } + this_file_error = 1; } } @@ -6436,6 +6433,7 @@ main (int argc, const char **argv) { delete_failure_queue (); error_count++; + break; } clear_failure_queue (); } @@ -6482,10 +6480,7 @@ main (int argc, const char **argv) value = do_spec (input_file_compiler->spec); infiles[i].compiled = true; if (value < 0) - { - this_file_error = 1; - break; - } + this_file_error = 1; } } @@ -6502,6 +6497,7 @@ main (int argc, const char **argv) { delete_failure_queue (); error_count++; + break; } /* If this compilation succeeded, don't delete those files later. */ clear_failure_queue (); |