]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c (execute): Improve readability.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Fri, 2 Dec 2005 12:26:25 +0000 (12:26 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Fri, 2 Dec 2005 12:26:25 +0000 (12:26 +0000)
From-SVN: r107886

gcc/ChangeLog
gcc/gcc.c

index c949c5fa4af8937943367cb2745faf60061711cd..5c629b2784e564159bfcbe297927a0d6c877b624 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 0673cb5c4602e14fe09a867d53102e1c3adb7717..1e0a2bf3be0200c6fc8a6ae012e62ffc62219ebb 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)