]> gcc.gnu.org Git - gcc.git/commitdiff
re PR target/18701 (mmix-knuth-mmixware gcc.c-torture/execute failures: 20010224...
authorHans-Peter Nilsson <hp@bitrange.com>
Fri, 21 Jan 2005 02:14:25 +0000 (02:14 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Fri, 21 Jan 2005 02:14:25 +0000 (02:14 +0000)
PR target/18701
* combine.c (combine_simplify_rtx): Revert change of 2004-12-31.

From-SVN: r94005

gcc/ChangeLog
gcc/combine.c

index 74474ec8ec6a4b22c17d5b009ad4ccfa0a857da2..fe6e8a4d20bf4cd7dc47c1d39c9cc2f3a469a036 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-21  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR target/18701
+       * combine.c (combine_simplify_rtx): Revert change of 2004-12-31.
+
 2005-01-20  Paul Brook  <paul@codesourcery.com>
 
        * doc/rtl.texi: Document value extension requirements for CONST_INT.
index 984c45e10ea6e1dc82c8742003772b0118f73614..dca4d971a1e4dbf4567f94ae6d0dce8701d40ee8 100644 (file)
@@ -3984,14 +3984,10 @@ combine_simplify_rtx (rtx x, enum machine_mode op0_mode, int in_dest)
       }
 
       /* Don't change the mode of the MEM if that would change the meaning
-        of the address.  Similarly, don't allow widening, as that may
-        access memory outside the defined object or using an address
-        that is invalid for a wider mode.  */
+        of the address.  */
       if (MEM_P (SUBREG_REG (x))
          && (MEM_VOLATILE_P (SUBREG_REG (x))
-             || mode_dependent_address_p (XEXP (SUBREG_REG (x), 0))
-             || (GET_MODE_SIZE (mode)
-                 > GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))))))
+             || mode_dependent_address_p (XEXP (SUBREG_REG (x), 0))))
        return gen_rtx_CLOBBER (mode, const0_rtx);
 
       /* Note that we cannot do any narrowing for non-constants since
This page took 0.070636 seconds and 5 git commands to generate.