Summary: | [4.4 Regression] Even at -O0 -g debuginfo for vars mentioned in nested fns is not emitted | ||
---|---|---|---|
Product: | gcc | Reporter: | Jakub Jelinek <jakub> |
Component: | debug | Assignee: | Jakub Jelinek <jakub> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs |
Priority: | P3 | ||
Version: | 4.4.0 | ||
Target Milestone: | 4.4.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2008-10-03 13:29:37 |
Description
Jakub Jelinek
2008-10-03 13:28:17 UTC
Subject: Bug 37726 Author: jakub Date: Fri Oct 3 18:55:39 2008 New Revision: 140857 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140857 Log: PR debug/37726 * gimplify.c (declare_vars): Use gimple_bind_block instead of gimple_block. * gcc.dg/debug/dwarf2/pr37726.c: New test. Added: trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr37726.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog Fixed. This test does not work for darwin for some reason, I have not looked why though, I bet it is due to the way dwarf2 is outputted there. |