summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/cc_int/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/cc_int/cse.c')
-rw-r--r--gnu/usr.bin/cc/cc_int/cse.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_int/cse.c b/gnu/usr.bin/cc/cc_int/cse.c
index 89643e0..db7dbe7 100644
--- a/gnu/usr.bin/cc/cc_int/cse.c
+++ b/gnu/usr.bin/cc/cc_int/cse.c
@@ -21,6 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h"
/* Must precede rtl.h for FFS. */
#include <stdio.h>
+#include <string.h>
#include "rtl.h"
#include "regs.h"
@@ -737,6 +738,8 @@ rtx_cost (x, outer_code)
RTX_COSTS (x, code, outer_code);
#endif
CONST_COSTS (x, code, outer_code);
+ default:
+ break;
}
/* Sum the costs of the sub-rtx's, plus cost of this operation,
@@ -1948,6 +1951,8 @@ canon_hash (x, mode)
do_not_record = 1;
return 0;
}
+ default:
+ break;
}
i = GET_RTX_LENGTH (code) - 1;
@@ -2122,6 +2127,8 @@ exp_equiv_p (x, y, validate, equal_values)
validate, equal_values)
&& exp_equiv_p (XEXP (x, 1), XEXP (y, 0),
validate, equal_values)));
+ default:
+ break;
}
/* Compare the elements. If any pair of corresponding elements
@@ -2318,6 +2325,8 @@ set_nonvarying_address_components (addr, size, pbase, pstart, pend)
base = *pbase;
}
break;
+ default:
+ break;
}
break;
@@ -2496,6 +2505,8 @@ canon_reg (x, insn)
: REGNO_REG_CLASS (first) == NO_REGS ? x
: gen_rtx (REG, qty_mode[reg_qty[REGNO (x)]], first));
}
+ default:
+ break;
}
fmt = GET_RTX_FORMAT (code);
@@ -3289,6 +3300,8 @@ simplify_unary_operation (code, mode, op, op_mode)
&& GET_CODE (XEXP (XEXP (op, 0), 1)) == LABEL_REF)
return XEXP (op, 0);
break;
+ default:
+ break;
}
return 0;
@@ -4189,6 +4202,8 @@ simplify_plus_minus (code, mode, op0, op1)
if (negs[i])
ops[i] = GEN_INT (- INTVAL (ops[i])), negs[i] = 0, changed = 1;
break;
+ default:
+ break;
}
}
@@ -4518,6 +4533,8 @@ simplify_relational_operation (code, mode, op0, op1)
&& INTEGRAL_MODE_P (mode))
return const0_rtx;
break;
+ default:
+ break;
}
return 0;
@@ -4547,6 +4564,8 @@ simplify_relational_operation (code, mode, op0, op1)
return equal || op0ltu ? const_true_rtx : const0_rtx;
case GEU:
return equal || op1ltu ? const_true_rtx : const0_rtx;
+ default:
+ break;
}
abort ();
@@ -5012,6 +5031,8 @@ fold_rtx (x, insn)
return x;
}
+ default:
+ break;
}
const_arg0 = 0;
@@ -5345,6 +5366,8 @@ fold_rtx (x, insn)
if (has_sign)
return false;
break;
+ default:
+ break;
}
}
}
@@ -5534,6 +5557,8 @@ fold_rtx (x, insn)
return cse_gen_binary (code, mode, y, new_const);
}
+ default:
+ break;
}
new = simplify_binary_operation (code, mode,
@@ -7568,6 +7593,8 @@ cse_process_notes (x, object)
/* Otherwise, canonicalize this register. */
return canon_reg (x, NULL_RTX);
+ default:
+ break;
}
for (i = 0; i < GET_RTX_LENGTH (code); i++)
@@ -8510,6 +8537,8 @@ count_reg_usage (x, counts, dest, incr)
count_reg_usage (XEXP (x, 0), counts, NULL_RTX, incr);
count_reg_usage (XEXP (x, 1), counts, NULL_RTX, incr);
return;
+ default:
+ break;
}
fmt = GET_RTX_FORMAT (code);
OpenPOWER on IntegriCloud