Re: Free constructor elts in LTO merging

2014-02-07 Thread Richard Biener
On Thu, 6 Feb 2014, Jan Hubicka wrote: > Hi, > according to memory stats this is relatively common reason for garbage left > after tree merging. > > Bootstrapped/regtested x86_64-linux, OK? As CONSTRUCTOR_ELTS is a vec<, va_gc> please use if (CODE_CONTAINS_STRUCT (code, TS_CONSTRUCTOR)) v

Free constructor elts in LTO merging

2014-02-06 Thread Jan Hubicka
Hi, according to memory stats this is relatively common reason for garbage left after tree merging. Bootstrapped/regtested x86_64-linux, OK? Honza * lto/lto.c (unify_scc): Free also CONSTRUCTOR_ELTS. Index: lto/lto.c === ---