This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/26330] gcc generates code that does not allow retrieval of struct arguments with debugger
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Feb 2006 03:11:13 -0000
- Subject: [Bug debug/26330] gcc generates code that does not allow retrieval of struct arguments with debugger
- References: <bug-26330-581@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from wilson at gcc dot gnu dot org 2006-02-22 03:11 -------
This argument is passed by pointer, converted into a DECL_VALUE_EXPR, and the
DECL_VALUE_EXPR DECL_RTL references a virtual register, which prevents us from
emitting debug info for it.
This looks like the same problem as PR 25562, which is already fixed in gcc-4.1
and mainline. This patch adds virtual register instantiation support for
DECL_VALUE_EXPR.
--
wilson at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wilson at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26330