This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables
- From: "dje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2009 21:49:23 -0000
- Subject: [Bug debug/40012] [4.5 Regression] Revision 146817 generated bad debug info for local variables
- References: <bug-40012-7796@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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