This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [LTO][PATCH] Delete temporary ltrans output files


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]