Re: [PATCH] Fix PR65549, avoid force_decl_die in late compilation

2015-06-02 Thread Jason Merrill
OK. Jason

Re: [PATCH] Fix PR65549, avoid force_decl_die in late compilation

2015-06-01 Thread Richard Biener
On Tue, Apr 28, 2015 at 10:37 AM, Richard Biener wrote: > On Fri, 17 Apr 2015, Jakub Jelinek wrote: > >> On Fri, Apr 17, 2015 at 12:32:03PM +0200, Richard Biener wrote: >> > So Jakub says that using comp_unit_die () for the context of the stub >> > DIE is wrong and he is of course right. The foll

Re: [PATCH] Fix PR65549, avoid force_decl_die in late compilation

2015-04-28 Thread Richard Biener
On Fri, 17 Apr 2015, Jakub Jelinek wrote: > On Fri, Apr 17, 2015 at 12:32:03PM +0200, Richard Biener wrote: > > So Jakub says that using comp_unit_die () for the context of the stub > > DIE is wrong and he is of course right. The following adjusted patch > > uses the correct context, but only if

Re: [PATCH] Fix PR65549, avoid force_decl_die in late compilation

2015-04-17 Thread Jakub Jelinek
On Fri, Apr 17, 2015 at 12:32:03PM +0200, Richard Biener wrote: > So Jakub says that using comp_unit_die () for the context of the stub > DIE is wrong and he is of course right. The following adjusted patch > uses the correct context, but only if we already have a DIE for it, > otherwise we drop t

Re: [PATCH] Fix PR65549, avoid force_decl_die in late compilation

2015-04-17 Thread Richard Biener
On Fri, 17 Apr 2015, Richard Biener wrote: > > For PR65549 the issue is that the force_decl_die DW_TAG_GNU_call_site > resolve_addr does can end up creating DIEs for types we won't emit > (it re-populates the limbo DIE list for the testcase). For the > particular testcase this happens because th

[PATCH] Fix PR65549, avoid force_decl_die in late compilation

2015-04-17 Thread Richard Biener
For PR65549 the issue is that the force_decl_die DW_TAG_GNU_call_site resolve_addr does can end up creating DIEs for types we won't emit (it re-populates the limbo DIE list for the testcase). For the particular testcase this happens because the context of the function called (a lambda type) wasn'