Re: Possible endless loop in lto-wrapper

2009-11-24 Thread Rafael Espindola
> Hi Rafael, > > I'm sorry I cannot try the patch until next weekend. > However, from a first look, it should work but I wonder: if the first > maybe_unlink_file fails the others are never reached, leaving some > temporary files in place. Is this ok? > Yes, I talked with Diego and he thinks that t

Re: Possible endless loop in lto-wrapper

2009-11-23 Thread Diego Novillo
On Mon, Nov 23, 2009 at 13:59, Rafael Espindola wrote: > 2009-11-23  Rafael Avila de Espindola   > >        * lto-wrapper.c (lto_wrapper_exit): Don't try to delete files if >        being called recursively. OK. Diego.

Re: Possible endless loop in lto-wrapper

2009-11-23 Thread Rafael Espindola
2009/11/22 Leandro Nini : > Hi, > > in gcc-4.5 lto-wrapper may end up in an endless loop in case of error: > > if for example a 'maybe_unlink_file' call from 'lto_wrapper_exit' fails it > calls 'fatal_perror' which in turn calls 'lto_wrapper_exit' again causing > an infinity of > > lto-wrapper: del