Commit 3c3f1a6f by Andrew Pinski Committed by Andrew Pinski

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
parent 9dc72831
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 Andreas Krebbel <krebbel1@de.ibm.com> 2006-09-13 Andreas Krebbel <krebbel1@de.ibm.com>
* basic_block.h (bb_has_eh_pred): Fix comment. * basic_block.h (bb_has_eh_pred): Fix comment.
......
...@@ -9167,6 +9167,7 @@ loc_descriptor_from_tree_1 (tree loc, int want_address) ...@@ -9167,6 +9167,7 @@ loc_descriptor_from_tree_1 (tree loc, int want_address)
/* FALLTHRU */ /* FALLTHRU */
case RESULT_DECL: case RESULT_DECL:
case FUNCTION_DECL:
{ {
rtx rtl = rtl_for_decl_location (loc); rtx rtl = rtl_for_decl_location (loc);
......
2006-09-13 Andrew Pinski <pinskia@physics.uc.edu>
PR debug/28980
* gcc.c-torture/compile/debugvlafunction-1.c: New test.
2006-09-13 Eric Botcazou <ebotcazou@adacore.com> 2006-09-13 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/unchecked_union.ads: New test. * gnat.dg/specs/unchecked_union.ads: New test.
extern void dynreplace_trampoline(void);
extern void dynreplace_trampoline_endlabel(void);
int dynreplace_add_trampoline(void)
{
unsigned long trampoline_code[(((unsigned long)
(&(dynreplace_trampoline_endlabel))
-(unsigned long) (&dynreplace_trampoline)))
];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment