[Bug debug/21828] [4.0/4.1 Regression] debug info omitted for uninitialized variables

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 21 23:26:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list