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: Clean up pretty printers [18/n]


> On Mon, Aug 26, 2013 at 9:32 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> 
> >>
> >> modify ALL_LINKERFLAGS or BUILD_LINKERFLAGS?
> >
> > configure --with-build-config=bootstrap-lto . You need plugin enabled buinutils for that.
> > I think there however should be a lot easier way to reproduce it by just dropping some really
> > large source file.  Here LTO only runs the backend on very many functions.
> >
> > Honza
> 
> by the way, we should be leaking less now that we release the memory
> acquire in obstack for local pretty printers. and discharged pretty printers.
> However, I think we still have problems with: (1) global pretty printers,
> (2) when we do ggc_strdup on the formatted text.  One of the local patches
> I have avoids the copy and GGC involvement.
> 
> Please let me know which of the above Make linker variables I should modify.

My favorite way to do so is to wait for compilation to get into linking stage and then
simply cut&paste the command line and modify it myself.  Otherwise it is bit inpractical:
we link many times (every binary twice just for checksum :( ) and thus you would end
up with quite massive disk usage I would guess.

Honza

> 
> -- Gaby


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