http://sourceware.org/bugzilla/show_bug.cgi?id=13024

rsand...@nildram.co.uk <rsandifo at nildram dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |rsandifo at nildram dot
                   |                            |co.uk
         AssignedTo|unassigned at sources dot   |rsandifo at nildram dot
                   |redhat.com                  |co.uk

--- Comment #1 from rsandifo at nildram dot co.uk <rsandifo at nildram dot 
co.uk> 2011-09-03 13:00:44 UTC ---
Confirmed.  This was caused by the patch to adjust location
information when swapping branches.  It only works for the
last .loc: if there are two consecutive .locs, the first is
generated at the original address.

A reduced testcase is:

    .file 1 "foo.c"
    .cfi_startproc
    .ent    foo
    .type    foo, @function
foo:
    .loc 1 1 0
    move    $2,$4
    .loc 1 2 0
    .loc 1 3 0
    j    $31
    .end    foo
    .cfi_endproc

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to