diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2014-06-26 09:16:19 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2014-06-26 09:16:19 +0000 |
commit | 608508a67719de05d2144200325662bda7204adc (patch) | |
tree | f0d0a3f3ffbbb64530f9c1a1a860983cd9984b28 /gcc/collect-utils.h | |
parent | a185856a06e7b26a06229563b2b01b92e6a4589b (diff) |
Small cleanups before making collect2 use collect-utils.
* collect-utils.c (save_temps): New variable.
(do_wait): Use it instead of debug. Use fatal_error.
* collect-utils.h (save_temps): Declare.
* collect2.c (verbose): Rename from vflag. All uses changed.
(tool_cleanup): New function, copied from collect_atexit.
(collect_atexit, handler): Just call it.
* collect2.h (verbose): Declaration renamed from vflag.
* lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of
debug.
From-SVN: r212019
Diffstat (limited to 'gcc/collect-utils.h')
-rw-r--r-- | gcc/collect-utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/collect-utils.h b/gcc/collect-utils.h index e47ab294c16..46c116001c9 100644 --- a/gcc/collect-utils.h +++ b/gcc/collect-utils.h @@ -30,6 +30,7 @@ extern void utils_cleanup (void); extern bool debug; extern bool verbose; +extern bool save_temps; /* Provided by the tool itself. */ |