re PR target/49713 (Conflicting types for 'arm_dbx_register_number')
authorRichard Henderson <rth@redhat.com>
Tue, 12 Jul 2011 18:41:44 +0000 (11:41 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 12 Jul 2011 18:41:44 +0000 (11:41 -0700)
commit4f42d714a265f15349dc745ff59a49b4c0a5b6c3
tree7684869ecfa82f014ed7d97b3a98896445b71089
parent3a5e4ad6e2e1293c707721525f896542571d8d85
re PR target/49713 (Conflicting types for 'arm_dbx_register_number')

PR target/49713
        * dwarf2out.h (dwarf_frame_regnum): Remove.
        * dwarf2out.c (based_loc_descr): Revert last change.  Initialize regno
        earlier from DWARF_FRAME_REGNUM.  Never use dbx_reg_number.
        * dwarf2cfi.c (dw_stack_pointer_regnum, dw_frame_pointer_regnum): New.
        (execute_dwarf2_frame): Initialize them.
        (DW_STACK_POINTER_REGNUM, DW_FRAME_POINTER_REGNUM): Remove; replace
        users of the macros with the variables.
        (expand_builtin_dwarf_sp_column): Revert last change.
        (expand_builtin_init_dwarf_reg_sizes): Likewise.  Compute the
        result of DWARF_FRAME_REGNUM into a local variable.

From-SVN: r176212
gcc/ChangeLog
gcc/dwarf2cfi.c
gcc/dwarf2out.c
gcc/dwarf2out.h