OSDN Git Service

PR middle-end/21318
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 May 2005 01:38:14 +0000 (01:38 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 May 2005 01:38:14 +0000 (01:38 +0000)
        * function.c (instantiate_virtual_regs_in_insn): Use the mode
        from recog_data instead of insn_data.

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

gcc/ChangeLog
gcc/function.c

index 5760eec..0ed6387 100644 (file)
@@ -1,3 +1,9 @@
+2004-05-03  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/21318
+       * function.c (instantiate_virtual_regs_in_insn): Use the mode
+       from recog_data instead of insn_data.
+
 2005-05-03  DJ Delorie  <dj@redhat.com>
 
        * common.opt (fdiagnostics-show-option): No variable is needed.
index 065c124..6bc3344 100644 (file)
@@ -1485,8 +1485,8 @@ instantiate_virtual_regs_in_insn (rtx insn)
              end_sequence ();
              emit_insn_before (seq, insn);
            }
-         x = simplify_gen_subreg (insn_data[insn_code].operand[i].mode,
-                                  new, GET_MODE (new), SUBREG_BYTE (x));
+         x = simplify_gen_subreg (recog_data.operand_mode[i], new,
+                                  GET_MODE (new), SUBREG_BYTE (x));
          break;
 
        default: