From 4e938719ec8336a0f0108ea84ab4eccceaf30ed5 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Mon, 30 Jun 2003 12:06:04 +0000 Subject: [PATCH] arm.c (arm_rtx_costs): Remove #if 0 block. * config/arm/arm.c (arm_rtx_costs): Remove #if 0 block. (bad_signed_byte_operand): Likewise. (arm_output_epilogue): Likewise. (arm_final_prescan_insn): Likewise. From-SVN: r68698 --- gcc/ChangeLog | 7 +++++++ gcc/config/arm/arm.c | 30 ------------------------------ 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b557a3640dcb..1f2777f911f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-06-30 Ben Elliston + + * config/arm/arm.c (arm_rtx_costs): Remove #if 0 block. + (bad_signed_byte_operand): Likewise. + (arm_output_epilogue): Likewise. + (arm_final_prescan_insn): Likewise. + 2003-06-30 Rainer Orth * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index c02e7be901ac..e80fe4e0ee24 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -3168,16 +3168,6 @@ arm_rtx_costs_1 (rtx x, enum rtx_code code, enum rtx_code outer) default: return 99; -#if 0 - case FFS: - case FLOAT: - case FIX: - case UNSIGNED_FIX: - /* XXX guess */ - fprintf (stderr, "unexpected code for thumb in rtx_costs: %s\n", - rtx_name[code]); - abort (); -#endif } } @@ -3706,10 +3696,6 @@ arm_reload_memory_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) int bad_signed_byte_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) { -#if 0 - if ((mode == QImode && !memory_operand (op, mode)) || GET_CODE (op) != MEM) - return 0; -#endif if (GET_CODE (op) != MEM) return 0; @@ -8601,13 +8587,6 @@ arm_output_epilogue (int really_return) } } -#if 0 - if (ARM_FUNC_TYPE (func_type) == ARM_FT_EXCEPTION_HANDLER) - /* Adjust the stack to remove the exception handler stuff. */ - asm_fprintf (f, "\tadd\t%r, %r, %r\n", SP_REGNUM, SP_REGNUM, - REGNO (eh_ofs)); -#endif - if (! really_return || (ARM_FUNC_TYPE (func_type) == ARM_FT_NORMAL && current_function_pretend_args_size == 0 @@ -9983,15 +9962,6 @@ arm_final_prescan_insn (rtx insn) if (GET_CODE (body) == PARALLEL && XVECLEN (body, 0) > 0) body = XVECEXP (body, 0, 0); -#if 0 - /* If this is a conditional return then we don't want to know */ - if (GET_CODE (body) == SET && GET_CODE (SET_DEST (body)) == PC - && GET_CODE (SET_SRC (body)) == IF_THEN_ELSE - && (GET_CODE (XEXP (SET_SRC (body), 1)) == RETURN - || GET_CODE (XEXP (SET_SRC (body), 2)) == RETURN)) - return; -#endif - if (reverse || (GET_CODE (body) == SET && GET_CODE (SET_DEST (body)) == PC && GET_CODE (SET_SRC (body)) == IF_THEN_ELSE)) -- 2.47.2