(copy_and_substitute_rtx, case REG): Call gen_lowpart instead of
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 26 Jan 1993 12:14:22 +0000 (07:14 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 26 Jan 1993 12:14:22 +0000 (07:14 -0500)
making an explicit SUBREG.

From-SVN: r3348

gcc/integrate.c

index f1231d358881c0ef60b4566d1949e7daaf89fbc5..c324facd7895cda488bdc9e5787ef63b30302011 100644 (file)
@@ -1952,7 +1952,7 @@ copy_rtx_and_substitute (orig, map)
                   reach here, so return the register unchanged.  */
                return orig;
              else if (mode != GET_MODE (map->inline_target))
-               return gen_rtx (SUBREG, mode, map->inline_target, 0);
+               return gen_lowpart (mode, map->inline_target);
              else
                return map->inline_target;
            }