From: Volker Reichelt Date: Fri, 2 Dec 2005 12:26:25 +0000 (+0000) Subject: * gcc.c (execute): Improve readability. X-Git-Tag: releases/gcc-4.2.0~5615 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eeac616e62b2f1669fc5b0de912527b95fb81f6e;p=thirdparty%2Fgcc.git * gcc.c (execute): Improve readability. From-SVN: r107886 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c949c5fa4af8..5c629b2784e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-12-02 Volker Reichelt + + * gcc.c (execute): Improve readability. + 2005-12-02 Richard Guenther * tree-cfg.c (mark_used_vars): New function. diff --git a/gcc/gcc.c b/gcc/gcc.c index 0673cb5c4602..1e0a2bf3be02 100644 --- 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)