summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-14 00:37:14 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2006-09-14 00:37:14 +0000
commitcfdab33280f5dee3a438db2d7f25a55a77d87e51 (patch)
treeee879b1ae3bb3b74f5787468038ba50344d7297c /gcc/dwarf2out.c
parentcc3a3556c4a07f87a70675d4693c464522a70f75 (diff)
downloadgcc-cfdab33280f5dee3a438db2d7f25a55a77d87e51.tar.gz
2006-09-13 Andrew Pinski <pinskia@physics.uc.edu>
PR debug/28980 * dwarf2out.c (loc_descriptor_from_tree_1): Handle FUNCTION_DECL. 2006-09-13 Andrew Pinski <pinskia@physics.uc.edu> PR debug/28980 * gcc.c-torture/compile/debugvlafunction-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116939 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 982d90823de..e82c81cc0a0 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -9167,6 +9167,7 @@ loc_descriptor_from_tree_1 (tree loc, int want_address)
/* FALLTHRU */
case RESULT_DECL:
+ case FUNCTION_DECL:
{
rtx rtl = rtl_for_decl_location (loc);