This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/CFT] Hookize TARGET_UNWIND_INFO and related macros


On Fri, 2010-09-17 at 20:45 -0700, Richard Henderson wrote:

> Try this.
> 
> 
> r~
> 
> 
> --- a/gcc/config/ia64/ia64.c
> +++ b/gcc/config/ia64/ia64.c
> @@ -3688,7 +3688,8 @@ ia64_expand_epilogue (int sibcall_p)
>    else if (frame_pointer_needed)
>      {
>        insn = emit_move_insn (stack_pointer_rtx, hard_frame_pointer_rtx);
> -      RTX_FRAME_RELATED_P (insn) = 1;
> +      /* We don't need to mark this frame-related, since the frame pointer
> +        will remain valid up until the return insn deallocates it.  */
>      }
>    else if (current_frame_info.total_size)
>      {

This gave me a different assert.

/proj/opensrc/nightly/src/trunk/libgcc/../gcc/libgcov.c: In function
'gcov_exit':
/proj/opensrc/nightly/src/trunk/libgcc/../gcc/libgcov.c:528:1: internal
compiler error: in dwarf2out_frame_debug_expr, at dwarf2out.c:2558

It looks like cfa_temp.reg is -1 and regno is 111 when the assert fails.

Steve Ellcey
sje@cup.hp.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]