Re: Reduce -flto -fprofile-generate memory use

2014-04-26 Thread Gerald Pfeifer
On Thu, 17 Apr 2014, Jan Hubicka wrote: > + * opts.c (common_handle_option): Disable -fipa-reference coorectly > + with -fuse-profile. coorectly -> correctly Gerald

Re: Reduce -flto -fprofile-generate memory use

2014-04-17 Thread Richard Biener
On Thu, 17 Apr 2014, Jan Hubicka wrote: > Hi, > while compiling firefox I noticed that -fprofile-generage -flto goes to 8GB. > It turns out that this is caused by ipa_reference no longer being disabled > becaus in_lto_p became flag that is set later (it is not clear to me why it > needs to be this

Reduce -flto -fprofile-generate memory use

2014-04-16 Thread Jan Hubicka
Hi, while compiling firefox I noticed that -fprofile-generage -flto goes to 8GB. It turns out that this is caused by ipa_reference no longer being disabled becaus in_lto_p became flag that is set later (it is not clear to me why it needs to be this way). I however do not see reason why not disable