From 608508a67719de05d2144200325662bda7204adc Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Thu, 26 Jun 2014 09:16:19 +0000 Subject: 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 --- gcc/collect-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/collect-utils.h') 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. */ -- cgit v1.2.3