Looks ok to me.
Teresa
On Sun, Apr 21, 2013 at 7:15 PM, Dehao Chen wrote:
> Thanks for the comment, new patch attached:
>
> Index: gcc/auto-profile.c
> ===
> --- gcc/auto-profile.c (revision 198117)
> +++ gcc/auto-profile.c (working
Thanks for the comment, new patch attached:
Index: gcc/auto-profile.c
===
--- gcc/auto-profile.c (revision 198117)
+++ gcc/auto-profile.c (working copy)
@@ -623,6 +623,10 @@ static tree
get_function_decl_from_block (tree block)
{
On Sun, Apr 21, 2013 at 4:51 PM, Dehao Chen wrote:
> This patch fixed a bug in getting inline stacks: if there is no
> location info attached to a block, we should *not* try to get its
> function name because it could result in infinite loop.
Is the infinite loop within get_function_decl_from_blo
This patch fixed a bug in getting inline stacks: if there is no
location info attached to a block, we should *not* try to get its
function name because it could result in infinite loop.
Bootstrapped and passed all regression tests.
Ok for gcc-4_7 branch?
Thanks,
Dehao
Index: gcc/auto-profile.c