diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2006-09-14 00:37:14 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2006-09-13 17:37:14 -0700 |
commit | 3c3f1a6f39914d92cccd9b7377d931b32e7067f8 (patch) | |
tree | ee879b1ae3bb3b74f5787468038ba50344d7297c /gcc/dwarf2out.c | |
parent | 9dc728318087c4695fe7b22fab0b16a717095cf0 (diff) | |
download | gcc-3c3f1a6f39914d92cccd9b7377d931b32e7067f8.zip gcc-3c3f1a6f39914d92cccd9b7377d931b32e7067f8.tar.gz gcc-3c3f1a6f39914d92cccd9b7377d931b32e7067f8.tar.bz2 |
re PR debug/28980 (ICE in loc_descriptor_from_tree_1 with -g)
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.
From-SVN: r116939
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 982d908..e82c81c 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); |