This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto][patch] Use @args when calling xgcc from lto-wrapper
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Rafael Espindola <espindola at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 29 Jan 2009 11:44:13 -0800
- Subject: Re: [lto][patch] Use @args when calling xgcc from lto-wrapper
- References: <38a0d8450901290812q19fc8926s9cf715e98b42cb32@mail.gmail.com>
On Thu, Jan 29, 2009 at 8:12 AM, Rafael Espindola <espindola@google.com> wrote:
> Since lto-wrapper might have a long command line, it has to use @args
> when passing the arguments to xgcc.
>
> I also pigbacked a small cleanup t ocollect_execute.
>
> 2009-01-29 Rafael Avila de Espindola <espindola@google.com>
>
> * lto-wrapper.c (collect_execute): Remove unused vars.
> (fork_execute): Write argv to a file and pass that to the command.
You should also use writeargv here instead of writing out the
arguments manually.
Thanks,
Andrew Pinski