Re: [RFC] Better debug info by substitution tracking for inliner (and other passes eliminating whole user variables)

2009-03-08 Thread Jan Hubicka
Hi, thanks for support ;) I have to look into the other things mentioned in the thread and decide how to proceed with this idea. we are however lost when we have pointer to those struct since there is no means describing there is no memory location for this pointer, but it would be pointing

Re: [RFC] Better debug info by substitution tracking for inliner (and other passes eliminating whole user variables)

2009-03-06 Thread Alexandre Oliva
On Mar 5, 2009, Jan Hubicka hubi...@ucw.cz wrote: The patch adds mechanizm for tracking inline substitutions, so we actually note that on whole scope of its existence ARGUMENT is having same value as OTHERARGUMENT. Beautiful! So if we want to have DEBUG_INSN approach, those aproaches

Re: [RFC] Better debug info by substitution tracking for inliner (and other passes eliminating whole user variables)

2009-03-05 Thread Richard Guenther
On Thu, 5 Mar 2009, Jan Hubicka wrote: Hi, this patch resulted from attempt to solve regression we have in gdb.opt/inline-locals.exp gdb testsuite and also problems with fact that when clonning function by ipa-cp we lose any information on function argument. (and yes, it solves it) The

Re: [RFC] Better debug info by substitution tracking for inliner (and other passes eliminating whole user variables)

2009-03-05 Thread Richard Guenther
On Thu, 5 Mar 2009, Richard Guenther wrote: On Thu, 5 Mar 2009, Jan Hubicka wrote: Hi, this patch resulted from attempt to solve regression we have in gdb.opt/inline-locals.exp gdb testsuite and also problems with fact that when clonning function by ipa-cp we lose any information on

Re: [RFC] Better debug info by substitution tracking for inliner (and other passes eliminating whole user variables)

2009-03-05 Thread Jan Hubicka
On Thu, 5 Mar 2009, Jan Hubicka wrote: Hi, this patch resulted from attempt to solve regression we have in gdb.opt/inline-locals.exp gdb testsuite and also problems with fact that when clonning function by ipa-cp we lose any information on function argument. (and yes, it solves it)

Re: [RFC] Better debug info by substitution tracking for inliner (and other passes eliminating whole user variables)

2009-03-05 Thread Andrew MacLeod
Jan Hubicka wrote: Hi, this patch resulted from attempt to solve regression we have in gdb.opt/inline-locals.exp gdb testsuite and also problems with fact that when clonning function by ipa-cp we lose any information on function argument. (and yes, it solves it) ... I know that this is one of