* gcc.c (execute): Improve readability.
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2005 12:26:25 +0000 (12:26 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2005 12:26:25 +0000 (12:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107886 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index c949c5f..5c629b2 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-02  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * gcc.c (execute): Improve readability.
+
 2005-12-02  Richard Guenther  <rguenther@suse.de>
 
        * tree-cfg.c (mark_used_vars): New function.
index 0673cb5..1e0a2bf 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2871,7 +2871,10 @@ execute (void)
               we would otherwise have succeeded.  */
            if (WTERMSIG (status) == SIGPIPE
                && (signal_count || greatest_status >= MIN_FATAL_STATUS))
-             ;
+             {
+               signal_count++;
+               ret_code = -1;
+             }
            else
 #endif
              fatal ("\
@@ -2880,8 +2883,6 @@ Please submit a full bug report.\n\
 See %s for instructions.",
                     strsignal (WTERMSIG (status)), commands[i].prog,
                     bug_report_url);
-           signal_count++;
-           ret_code = -1;
          }
        else if (WIFEXITED (status)
                 && WEXITSTATUS (status) >= MIN_FATAL_STATUS)