]> gcc.gnu.org Git - gcc.git/commitdiff
function.c (assign_parm_setup_block): Revert 11-13 change to forcably re-mode a ...
authorRichard Henderson <rth@redhat.com>
Mon, 22 Nov 2004 18:55:05 +0000 (10:55 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 22 Nov 2004 18:55:05 +0000 (10:55 -0800)
        * function.c (assign_parm_setup_block): Revert 11-13 change to
        forcably re-mode a (possibly BLKmode) hard register.

From-SVN: r91023

gcc/ChangeLog
gcc/function.c

index 3f81dc7f3eb98055159734ec150a0346f44f035f..de1259e1e8638f0da4b44ffb28d39ec79e01f19b 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-22  Richard Henderson  <rth@redhat.com>
+
+       * function.c (assign_parm_setup_block): Revert 11-13 change to
+       forcably re-mode a (possibly BLKmode) hard register.
+
 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
index e4e04d2a53d743d77ed865e70007a6f6fbdeb3cb..ce1fd9eb3ac84a975045a6f38b330e716571fb2c 100644 (file)
@@ -2663,7 +2663,7 @@ assign_parm_setup_block (struct assign_parm_data_all *all,
            {
              rtx tem, x;
              int by = (UNITS_PER_WORD - size) * BITS_PER_UNIT;
-             rtx reg = gen_lowpart (word_mode, entry_parm);
+             rtx reg = gen_rtx_REG (word_mode, REGNO (entry_parm));
 
              x = expand_shift (LSHIFT_EXPR, word_mode, reg,
                                build_int_cst (NULL_TREE, by),
This page took 0.08862 seconds and 5 git commands to generate.