This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Delete temporary ltrans output files
- From: Diego Novillo <dnovillo at google dot com>
- To: Simon Baldwin <simonb at google dot com>
- Cc: espindola at google dot com, gcc-patches at gcc dot gnu dot org
- Date: Tue, 9 Dec 2008 08:21:13 -0500
- Subject: Re: [LTO][PATCH] Delete temporary ltrans output files
- References: <20081209131318.78FCC3FEBD3@localhost>
On Tue, Dec 9, 2008 at 08:13, Simon Baldwin <simonb@google.com> wrote:
> +/* Unlink a temporary LTRANS file unless requested otherwise. */
> +
> +static void
> +maybe_unlink_file (const char *file)
> +{
> + if (!getenv ("WPA_SAVE_LTRANS"))
How about we react to -save-temps or -debug instead? Much cleaner
than another environment variable.
Diego.