From 35ed0a936a8269de89d1bc62ff63fb725a919b16 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Sat, 9 Oct 2004 19:19:24 +0000 Subject: [PATCH] regs.h (struct reg_info_def): Remove the last_node_uid and changes_mode fields. * regs.h (struct reg_info_def): Remove the last_node_uid and changes_mode fields. (REGNO_LAST_NOTE_UID): Don't define. * regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID. * regmove.c (copy_src_to_dest): Likewise. From-SVN: r88825 --- gcc/ChangeLog | 8 ++++++++ gcc/regclass.c | 1 - gcc/regmove.c | 3 --- gcc/regs.h | 7 ------- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d968b14c70..e1386742412 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2004-10-09 Steven Bosscher + + * regs.h (struct reg_info_def): Remove the last_node_uid and + changes_mode fields. + (REGNO_LAST_NOTE_UID): Don't define. + * regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID. + * regmove.c (copy_src_to_dest): Likewise. + 2004-10-09 Roger Sayle PR middle-end/17894 diff --git a/gcc/regclass.c b/gcc/regclass.c index 6d1d975f093..3e2af72ba89 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -2395,7 +2395,6 @@ reg_scan_mark_refs (rtx x, rtx insn, int note_flag, unsigned int min_regno) if (regno >= min_regno) { - REGNO_LAST_NOTE_UID (regno) = INSN_UID (insn); if (!note_flag) REGNO_LAST_UID (regno) = INSN_UID (insn); if (REGNO_FIRST_UID (regno) == 0) diff --git a/gcc/regmove.c b/gcc/regmove.c index c08a72058b3..7f5455977f9 100644 --- a/gcc/regmove.c +++ b/gcc/regmove.c @@ -834,9 +834,6 @@ copy_src_to_dest (rtx insn, rtx src, rtx dest, int old_max_uid) if (REGNO_LAST_UID (src_regno) == insn_uid) REGNO_LAST_UID (src_regno) = move_uid; - - if (REGNO_LAST_NOTE_UID (src_regno) == insn_uid) - REGNO_LAST_NOTE_UID (src_regno) = move_uid; } } diff --git a/gcc/regs.h b/gcc/regs.h index 848c306a3ff..85d50400d40 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -50,7 +50,6 @@ typedef struct reg_info_def { /* fields set by reg_scan */ int first_uid; /* UID of first insn to use (REG n) */ int last_uid; /* UID of last insn to use (REG n) */ - int last_note_uid; /* UID of last note to use (REG n) */ /* fields set by reg_scan & flow_analysis */ int sets; /* # of times (REG n) is set */ @@ -62,8 +61,6 @@ typedef struct reg_info_def int live_length; /* # of instructions (REG n) is live */ int calls_crossed; /* # of calls (REG n) is live across */ int basic_block; /* # of basic blocks (REG n) is used in */ - char changes_mode; /* whether (SUBREG (REG n)) exists and - is illegal. */ } reg_info; extern varray_type reg_n_info; @@ -187,10 +184,6 @@ extern enum machine_mode reg_raw_mode[FIRST_PSEUDO_REGISTER]; #define REGNO_LAST_UID(N) (VARRAY_REG (reg_n_info, N)->last_uid) -/* Similar, but includes insns that mention the reg in their notes. */ - -#define REGNO_LAST_NOTE_UID(N) (VARRAY_REG (reg_n_info, N)->last_note_uid) - /* List made of EXPR_LIST rtx's which gives pairs of pseudo registers that have to go in the same hard reg. */ extern rtx regs_may_share;