dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int.
authorRichard Henderson <rth@redhat.com>
Fri, 18 Nov 2005 01:19:10 +0000 (17:19 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 18 Nov 2005 01:19:10 +0000 (17:19 -0800)
commitf6672e8e52276dcaf1a27e636247383f316ce221
treec03bdda31c81403f3bcd5fcf610248b9f27ee02a
parentca9e049bc145ae985bc0e2dd6079dacdd51717ac
dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int.

        * dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int.
        (lookup_cfa_1): Apply data alignment to DW_CFA_def_cfa_offset_sf
        and DW_CFA_def_cfa_sf.
        (def_cfa_1): Use DW_CFA_def_cfa_offset_sf with negative values.
        (dbx_reg_number): Don't assert particular registers here.
        (based_loc_descr): ... do it here instead.  Fold in ...
        (eliminate_reg_to_offset): ... this function.
        (compute_frame_pointer_to_cfa_displacement): Fold in the effects
        of eliminate_reg_to_offset; use FRAME_POINTER_CFA_OFFSET.
        * unwind-dw2.c (execute_cfa_program): Apply data align factor
        to DW_CFA_def_cfa_offset_sf and DW_CFA_def_cfa_sf.
        * function.c (instantiate_new_reg): Use FRAME_POINTER_CFA_OFFSET.
        (instantiate_virtual_regs): Likewise.
        * var-tracking.c (adjust_stack_reference): Likewise.
        * doc/tm.texi (FRAME_POINTER_CFA_OFFSET): New.

From-SVN: r107154
gcc/ChangeLog
gcc/doc/tm.texi
gcc/dwarf2out.c
gcc/function.c
gcc/unwind-dw2.c
gcc/var-tracking.c