Re: [PATCH] Avoid redundant indirect_info computation during inderct edge cloning

2014-08-29 Thread Jeff Law
On 08/18/14 06:07, Ilya Enkovich wrote: On 15 Aug 23:08, Jan Hubicka wrote: Hi, I get a segafult in decl_maybe_in_construction_p during function versioning. We have following steps in clone creation (e.g. as in create_version_clone_with_body): 1. Create function decl 2. Create clone of c

Re: [PATCH] Avoid redundant indirect_info computation during inderct edge cloning

2014-08-18 Thread Ilya Enkovich
On 15 Aug 23:08, Jan Hubicka wrote: > > Hi, > > > > I get a segafult in decl_maybe_in_construction_p during function > > versioning. We have following steps in clone creation (e.g. as in > > create_version_clone_with_body): > > 1. Create function decl > > 2. Create clone of cgraph node > > 3

Re: [PATCH] Avoid redundant indirect_info computation during inderct edge cloning

2014-08-15 Thread Jan Hubicka
> Hi, > > I get a segafult in decl_maybe_in_construction_p during function versioning. > We have following steps in clone creation (e.g. as in > create_version_clone_with_body): > 1. Create function decl > 2. Create clone of cgraph node > 3. Copy function body > After the first step there is

[PATCH] Avoid redundant indirect_info computation during inderct edge cloning

2014-08-14 Thread Ilya Enkovich
Hi, I get a segafult in decl_maybe_in_construction_p during function versioning. We have following steps in clone creation (e.g. as in create_version_clone_with_body): 1. Create function decl 2. Create clone of cgraph node 3. Copy function body After the first step there is no body attached