This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: PATCH: Add -plugin-save-temps


On Mon, May 16, 2011 at 07:35:35AM -0700, H.J. Lu wrote:
> On Mon, May 16, 2011 at 7:21 AM, Alan Modra <amodra@gmail.com> wrote:
> > On Sun, May 15, 2011 at 02:15:03PM -0700, H.J. Lu wrote:
> >> ? ? ? (plugin_call_cleanup): Don't call plugin cleanup_handler if
> >> ? ? ? plugin_save_temps is true.
> >
> > Isn't this really just covering for gcc -save-temps bugs?
> >
> 
> It isn't straight forward since LTO plugin is invoked by linker,
> not gcc driver. Ultimately LTO cleanup is controlled by linker.

Yes, but lto-wrapper modifies its cleanup according to whether
COLLECT_GCC_OPTIONS contains -save-temps.  Why can't lto-plugin do the
same?

-- 
Alan Modra
Australia Development Lab, IBM


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