------- Comment #9 from drow at gcc dot gnu dot org  2009-06-30 18:59 -------
Subject: Re:  DWARF for inlined subroutines refers to the
 outlined copy

On Tue, Jun 30, 2009 at 06:13:16PM -0000, jakub at gcc dot gnu dot org wrote:
> Weird, the difference I get with the patch on the testcase at -O2 -g is
> attached.

You're right, my test run was foobar.  Your patch causes this:

-arg1 = 0
-(gdb) PASS: gdb.opt/inline-locals.exp: info args above bar (2)
+arg1 = <value optimized out>
+(gdb) FAIL: gdb.opt/inline-locals.exp: info args above bar (2)

Despite the appearance, this is good.  The previous result was luck, a
DW_AT_location in the out-of-line instance that used the same register
as in the inlined instance.  I hope VTA will fix this failure.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40573

Reply via email to