expr.c (force_operand): Remove breaks after return statements.
* expr.c (force_operand) [DIV, MOD, UDIV, UMOD, ASHIFTRT]: Remove breaks after return statements. From-SVN: r125259
This commit is contained in:
parent
5e77c6f932
commit
b7e6d1da6e
|
@ -1,3 +1,8 @@
|
||||||
|
2007-06-01 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
|
* expr.c (force_operand) [DIV, MOD, UDIV, UMOD, ASHIFTRT]: Remove
|
||||||
|
breaks after return statements.
|
||||||
|
|
||||||
2007-06-01 Kaz Kojima <kkojima@gcc.gnu.org>
|
2007-06-01 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||||
|
|
||||||
* config/sh/sh.c (fpscr_set_from_mem): Call get_free_reg
|
* config/sh/sh.c (fpscr_set_from_mem): Call get_free_reg
|
||||||
|
@ -94,7 +99,6 @@
|
||||||
* gcc.c (main): Don't consider linker options when issuing the
|
* gcc.c (main): Don't consider linker options when issuing the
|
||||||
warning about a linker input file not being used.
|
warning about a linker input file not being used.
|
||||||
|
|
||||||
>>>>>>> .r125234
|
|
||||||
2007-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2007-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
* tree-vrp.c (compare_names): Initialize sop.
|
* tree-vrp.c (compare_names): Initialize sop.
|
||||||
|
|
18
gcc/expr.c
18
gcc/expr.c
|
@ -6001,12 +6001,13 @@ force_operand (rtx value, rtx target)
|
||||||
&& !REG_P (SUBREG_REG (value))
|
&& !REG_P (SUBREG_REG (value))
|
||||||
&& !MEM_P (SUBREG_REG (value)))
|
&& !MEM_P (SUBREG_REG (value)))
|
||||||
{
|
{
|
||||||
value = simplify_gen_subreg (GET_MODE (value),
|
value
|
||||||
force_reg (GET_MODE (SUBREG_REG (value)),
|
= simplify_gen_subreg (GET_MODE (value),
|
||||||
force_operand (SUBREG_REG (value),
|
force_reg (GET_MODE (SUBREG_REG (value)),
|
||||||
NULL_RTX)),
|
force_operand (SUBREG_REG (value),
|
||||||
GET_MODE (SUBREG_REG (value)),
|
NULL_RTX)),
|
||||||
SUBREG_BYTE (value));
|
GET_MODE (SUBREG_REG (value)),
|
||||||
|
SUBREG_BYTE (value));
|
||||||
code = GET_CODE (value);
|
code = GET_CODE (value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6070,23 +6071,18 @@ force_operand (rtx value, rtx target)
|
||||||
FLOAT_MODE_P (GET_MODE (value))
|
FLOAT_MODE_P (GET_MODE (value))
|
||||||
? RDIV_EXPR : TRUNC_DIV_EXPR,
|
? RDIV_EXPR : TRUNC_DIV_EXPR,
|
||||||
GET_MODE (value), op1, op2, target, 0);
|
GET_MODE (value), op1, op2, target, 0);
|
||||||
break;
|
|
||||||
case MOD:
|
case MOD:
|
||||||
return expand_divmod (1, TRUNC_MOD_EXPR, GET_MODE (value), op1, op2,
|
return expand_divmod (1, TRUNC_MOD_EXPR, GET_MODE (value), op1, op2,
|
||||||
target, 0);
|
target, 0);
|
||||||
break;
|
|
||||||
case UDIV:
|
case UDIV:
|
||||||
return expand_divmod (0, TRUNC_DIV_EXPR, GET_MODE (value), op1, op2,
|
return expand_divmod (0, TRUNC_DIV_EXPR, GET_MODE (value), op1, op2,
|
||||||
target, 1);
|
target, 1);
|
||||||
break;
|
|
||||||
case UMOD:
|
case UMOD:
|
||||||
return expand_divmod (1, TRUNC_MOD_EXPR, GET_MODE (value), op1, op2,
|
return expand_divmod (1, TRUNC_MOD_EXPR, GET_MODE (value), op1, op2,
|
||||||
target, 1);
|
target, 1);
|
||||||
break;
|
|
||||||
case ASHIFTRT:
|
case ASHIFTRT:
|
||||||
return expand_simple_binop (GET_MODE (value), code, op1, op2,
|
return expand_simple_binop (GET_MODE (value), code, op1, op2,
|
||||||
target, 0, OPTAB_LIB_WIDEN);
|
target, 0, OPTAB_LIB_WIDEN);
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return expand_simple_binop (GET_MODE (value), code, op1, op2,
|
return expand_simple_binop (GET_MODE (value), code, op1, op2,
|
||||||
target, 1, OPTAB_LIB_WIDEN);
|
target, 1, OPTAB_LIB_WIDEN);
|
||||||
|
|
Loading…
Reference in New Issue