Re: [PATCH] Fix PR64415

2015-01-13 Thread Jakub Jelinek
On Tue, Jan 13, 2015 at 02:26:39PM +0100, Richard Biener wrote: > The following seems to work (for the testcase). Testing coverage > of this mode will of course be bad. LGTM. > 2015-01-13 Richard Biener > > PR lto/64415 > * tree-inline.c (insert_debug_decl_map): Check destination

Re: [PATCH] Fix PR64415

2015-01-13 Thread Richard Biener
On Tue, 13 Jan 2015, Jakub Jelinek wrote: > On Tue, Jan 13, 2015 at 02:04:26PM +0100, Richard Biener wrote: > > The following removes -fvar-tracking-assignments from being eligible > > to the optimization attribute/pragma which fixes LTO operation for > > mixed inputs (LTO just drops debug stmts i

Re: [PATCH] Fix PR64415

2015-01-13 Thread Jakub Jelinek
On Tue, Jan 13, 2015 at 02:04:26PM +0100, Richard Biener wrote: > The following removes -fvar-tracking-assignments from being eligible > to the optimization attribute/pragma which fixes LTO operation for > mixed inputs (LTO just drops debug stmts if the flag is false). > > In theory we could also