This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor change in function.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: Minor change in function.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Fri, 20 Oct 00 15:05:20 EDT
Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
*** function.c 2000/10/17 22:17:31 1.225
--- function.c 2000/10/20 15:03:02
*************** locate_and_pad_parm (passed_mode, type,
*** 5132,5137 ****
}
if (where_pad != none
! && (TREE_CODE (sizetree) != INTEGER_CST
! || ((TREE_INT_CST_LOW (sizetree) * BITS_PER_UNIT) % PARM_BOUNDARY)))
sizetree = round_up (sizetree, PARM_BOUNDARY / BITS_PER_UNIT);
SUB_PARM_SIZE (*offset_ptr, sizetree);
--- 5132,5137 ----
}
if (where_pad != none
! && (!host_integerp (sizetree, 1)
! || (tree_low_cst (sizetree, 1) * BITS_PER_UNIT) % PARM_BOUNDARY))
sizetree = round_up (sizetree, PARM_BOUNDARY / BITS_PER_UNIT);
SUB_PARM_SIZE (*offset_ptr, sizetree);
*************** locate_and_pad_parm (passed_mode, type,
*** 5172,5177 ****
if (where_pad != none
! && (TREE_CODE (sizetree) != INTEGER_CST
! || ((TREE_INT_CST_LOW (sizetree) * BITS_PER_UNIT) % PARM_BOUNDARY)))
sizetree = round_up (sizetree, PARM_BOUNDARY / BITS_PER_UNIT);
--- 5167,5172 ----
if (where_pad != none
! && (!host_integerp (sizetree, 1)
! || (tree_low_cst (sizetree, 1) * BITS_PER_UNIT) % PARM_BOUNDARY))
sizetree = round_up (sizetree, PARM_BOUNDARY / BITS_PER_UNIT);