This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for uninitialized variables
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2005 23:26:03 -0000
- Subject: [Bug debug/21828] [4.0/4.1 Regression] debug info omitted for uninitialized variables
- References: <20050530184504.21828.bonzini@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-07-21 23:26 -------
Jakub --
Thank you for finding the patch that fixed this problem.
Richard's patch changed things to mark the problematic variable as
DECL_IGNORED_P earlier, so my patch is no longer necessary.
As for Jim's comments about matching the source, the variable is also
DECL_ARTIFICIAL, so perhaps its reasonable to assume that the user doesn't care
about it.
I will try a test run with my patch reverted; if that passes, and still fixes
the bug in this PR, I will check in.
Thanks!
-- Mark
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21828