OSDN Git Service

* expr.c (force_operand) [DIV, MOD, UDIV, UMOD, ASHIFTRT]: Remove
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jun 2007 05:59:23 +0000 (05:59 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Jun 2007 05:59:23 +0000 (05:59 +0000)
breaks after return statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125259 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.c

index 87ce2f1..c1ee9fb 100644 (file)
@@ -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>
 
        * 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
        warning about a linker input file not being used.
 
->>>>>>> .r125234
 2007-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * tree-vrp.c (compare_names): Initialize sop.
index 3033ec8..05e2383 100644 (file)
@@ -6001,12 +6001,13 @@ force_operand (rtx value, rtx target)
       && !REG_P (SUBREG_REG (value))
       && !MEM_P (SUBREG_REG (value)))
     {
-      value = simplify_gen_subreg (GET_MODE (value),
-                                  force_reg (GET_MODE (SUBREG_REG (value)),
-                                             force_operand (SUBREG_REG (value),
-                                                            NULL_RTX)),
-                                  GET_MODE (SUBREG_REG (value)),
-                                  SUBREG_BYTE (value));
+      value
+       = simplify_gen_subreg (GET_MODE (value),
+                              force_reg (GET_MODE (SUBREG_REG (value)),
+                                         force_operand (SUBREG_REG (value),
+                                                        NULL_RTX)),
+                              GET_MODE (SUBREG_REG (value)),
+                              SUBREG_BYTE (value));
       code = GET_CODE (value);
     }
 
@@ -6070,23 +6071,18 @@ force_operand (rtx value, rtx target)
                                  FLOAT_MODE_P (GET_MODE (value))
                                  ? RDIV_EXPR : TRUNC_DIV_EXPR,
                                  GET_MODE (value), op1, op2, target, 0);
-         break;
        case MOD:
          return expand_divmod (1, TRUNC_MOD_EXPR, GET_MODE (value), op1, op2,
                                target, 0);
-         break;
        case UDIV:
          return expand_divmod (0, TRUNC_DIV_EXPR, GET_MODE (value), op1, op2,
                                target, 1);
-         break;
        case UMOD:
          return expand_divmod (1, TRUNC_MOD_EXPR, GET_MODE (value), op1, op2,
                                target, 1);
-         break;
        case ASHIFTRT:
          return expand_simple_binop (GET_MODE (value), code, op1, op2,
                                      target, 0, OPTAB_LIB_WIDEN);
-         break;
        default:
          return expand_simple_binop (GET_MODE (value), code, op1, op2,
                                      target, 1, OPTAB_LIB_WIDEN);