aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2005-12-02 12:26:25 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2005-12-02 12:26:25 +0000
commiteeac616e62b2f1669fc5b0de912527b95fb81f6e (patch)
tree66979df58a469a163c54df2f405de54aa768d329 /gcc/gcc.c
parent4e20d9c461087c46560b6485b7f4b00e43a07f00 (diff)
downloadgcc-eeac616e62b2f1669fc5b0de912527b95fb81f6e.zip
gcc-eeac616e62b2f1669fc5b0de912527b95fb81f6e.tar.gz
gcc-eeac616e62b2f1669fc5b0de912527b95fb81f6e.tar.bz2
* gcc.c (execute): Improve readability.
From-SVN: r107886
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 0673cb5..1e0a2bf 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)