reload.c (find_reloads): Force reload for pseudo registers on big endian machines.
authorPeter Jakubek <peter@laseranimation.com>
Sat, 12 Jun 2004 01:06:40 +0000 (01:06 +0000)
committerBernardo Innocenti <bernie@gcc.gnu.org>
Sat, 12 Jun 2004 01:06:40 +0000 (03:06 +0200)
* reload.c (find_reloads): Force reload for pseudo registers on big
endian machines.

From-SVN: r83014

gcc/ChangeLog
gcc/reload.c

index 3c8371af274018717fefc33c2c5590b58a9a3510..841520f51f87c5b400e60f51093951995522d1e0 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-12  Peter Jakubek  <peter@laseranimation.com>
+
+       * reload.c (find_reloads): Force reload for pseudo registers on big
+       endian machines.
+
 2004-06-11  Steven Bosscher <stevenb@suse.de>
 
        * tree-ssa-dce.c (mark_control_dependent_edges_necessary):
index dc5d9f70e5666ec19f301d2b9f3896a6bbe5dd26..c0fca57cb71d60d699b3f194369de7e95fda33ad 100644 (file)
@@ -2963,7 +2963,7 @@ find_reloads (rtx insn, int replace, int ind_levels, int live_known,
                            < BIGGEST_ALIGNMENT)
                           && (GET_MODE_SIZE (operand_mode[i])
                               > GET_MODE_SIZE (GET_MODE (operand))))
-                         || (GET_CODE (operand) == MEM && BYTES_BIG_ENDIAN)
+                         || BYTES_BIG_ENDIAN
 #ifdef LOAD_EXTEND_OP
                          || (GET_MODE_SIZE (operand_mode[i]) <= UNITS_PER_WORD
                              && (GET_MODE_SIZE (GET_MODE (operand))