+2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead
+ of next_real_insn.
+ (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise.
+
2013-03-30 Lawrence Crowl <crowl@google.com>
* dse.c (clear_alias_sets): Remove never set.
(clobber (match_scratch:SI 3 "=X,1"))]
"TARGET_SH1"
{
- rtx diff_vec = PATTERN (next_real_insn (operands[2]));
+ rtx diff_vec = PATTERN (next_active_insn (operands[2]));
gcc_assert (GET_CODE (diff_vec) == ADDR_DIFF_VEC);
(clobber (match_operand:SI 4 "" "=X,1"))]
"TARGET_SH2 && reload_completed && flag_pic"
{
- rtx diff_vec = PATTERN (next_real_insn (operands[2]));
+ rtx diff_vec = PATTERN (next_active_insn (operands[2]));
gcc_assert (GET_CODE (diff_vec) == ADDR_DIFF_VEC);
switch (GET_MODE (diff_vec))
UNSPEC_CASESI)))]
"TARGET_SHMEDIA"
{
- rtx diff_vec = PATTERN (next_real_insn (operands[2]));
+ rtx diff_vec = PATTERN (next_active_insn (operands[2]));
gcc_assert (GET_CODE (diff_vec) == ADDR_DIFF_VEC);
(label_ref:DI (match_operand 3 "" ""))] UNSPEC_CASESI)))]
"TARGET_SHMEDIA"
{
- rtx diff_vec = PATTERN (next_real_insn (operands[3]));
+ rtx diff_vec = PATTERN (next_active_insn (operands[3]));
gcc_assert (GET_CODE (diff_vec) == ADDR_DIFF_VEC);