Re: [PATCH] Copy over section name during cloning (PR ipa/64963)

2015-02-16 Thread Jan Hubicka
> On Mon, Feb 16, 2015 at 07:23:33PM +0100, Jan Hubicka wrote: > > > --- gcc/cgraphclones.c.jj 2015-01-09 21:59:44.0 +0100 > > > +++ gcc/cgraphclones.c2015-02-16 14:02:16.564725881 +0100 > > > @@ -577,7 +577,7 @@ cgraph_node::create_virtual_clone (vec > >char *name; > > > > > >

Re: [PATCH] Copy over section name during cloning (PR ipa/64963)

2015-02-16 Thread Jakub Jelinek
On Mon, Feb 16, 2015 at 07:23:33PM +0100, Jan Hubicka wrote: > > --- gcc/cgraphclones.c.jj 2015-01-09 21:59:44.0 +0100 > > +++ gcc/cgraphclones.c 2015-02-16 14:02:16.564725881 +0100 > > @@ -577,7 +577,7 @@ cgraph_node::create_virtual_clone (vec >char *name; > > > >if (!in_l

Re: [PATCH] Copy over section name during cloning (PR ipa/64963)

2015-02-16 Thread Jan Hubicka
Hi, > Hi! > > As discussed in the PR, in 4.9 we used to clone DECL_SECTION_NAME > through using copy_node on the FUNCTION_DECL, and only in selected places > (e.g. when creating artificial_thunk.*, or when creating virtual clones > of DECL_ONE_ONLY functions) we used to explicitly clear DECL_SECTI

[PATCH] Copy over section name during cloning (PR ipa/64963)

2015-02-16 Thread Jakub Jelinek
Hi! As discussed in the PR, in 4.9 we used to clone DECL_SECTION_NAME through using copy_node on the FUNCTION_DECL, and only in selected places (e.g. when creating artificial_thunk.*, or when creating virtual clones of DECL_ONE_ONLY functions) we used to explicitly clear DECL_SECTION_NAME. In 5 th