This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables



------- Comment #4 from dje at gcc dot gnu dot org  2009-06-01 21:49 -------
Local variable debugging is broken for AIX stabs as well.

On AIX, the DECL and the insn contain different offsets from virtual-stack-vars
for the same variable:

(mem/c/i:SI (plus:SI (reg/f:SI 115 virtual-stack-vars)
        (const_int 8 [0x8])) [0 a+0 S4 A128])

versus

(insn 11 10 12 3 ad.c:11 (set (reg:SI 123)
        (mem/c/i:SI (reg/f:SI 115 virtual-stack-vars) [0 a+0 S4 A32])) -1
(nil))


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]