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/tlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tlink.c') diff --git a/gcc/tlink.c b/gcc/tlink.c index bc358b8..addea61 100644 --- a/gcc/tlink.c +++ b/gcc/tlink.c @@ -275,7 +275,7 @@ tlink_init (void) else { tlink_verbose = 1; - if (vflag) + if (verbose) tlink_verbose = 2; if (debug) tlink_verbose = 3; -- cgit v1.1