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] Use @args when calling xgcc from lto-wrapper


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


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