OSDN Git Service

* reload.c (find_reloads <p constraint>): Pass operand_mode to
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Sep 2002 08:57:24 +0000 (08:57 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Sep 2002 08:57:24 +0000 (08:57 +0000)
find_reloads_address.

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

gcc/ChangeLog
gcc/reload.c

index 7da8446..e063de6 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * reload.c (find_reloads <p constraint>): Pass operand_mode to
+       find_reloads_address.
+
 2002-09-08  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
index e195ea2..e522e55 100644 (file)
@@ -2644,7 +2644,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
       else if (constraints[i][0] == 'p'
               || EXTRA_ADDRESS_CONSTRAINT (constraints[i][0]))
        {
-         find_reloads_address (VOIDmode, (rtx*) 0,
+         find_reloads_address (recog_data.operand_mode[i], (rtx*) 0,
                                recog_data.operand[i],
                                recog_data.operand_loc[i],
                                i, operand_type[i], ind_levels, insn);