diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1995-02-06 15:26:58 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1995-02-06 15:26:58 -0800 |
commit | 3385bb91035edf33a10607182fc4803ccb29ef53 (patch) | |
tree | 382df0ca62d2953e3efa0a01ac0fd3957ab77ff1 /gcc | |
parent | 272627c1849796400321b1cdb68d89754ec68657 (diff) | |
download | gcc-3385bb91035edf33a10607182fc4803ccb29ef53.zip gcc-3385bb91035edf33a10607182fc4803ccb29ef53.tar.gz gcc-3385bb91035edf33a10607182fc4803ccb29ef53.tar.bz2 |
(sh_function_arg): Don't reject unaligned structures.
(sh_function_arg_partial_nregs): Likewise.
From-SVN: r8881
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sh/sh.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index afbbf6c..6958a08 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -2585,8 +2585,6 @@ sh_function_arg (cum, mode, type, named) if (rr < NPARM_REGS) { return (((type) == 0 || !TREE_ADDRESSABLE ((tree) (type))) - && ((type) == 0 || (mode) != BLKmode - || (TYPE_ALIGN ((type)) % PARM_BOUNDARY == 0)) ? gen_rtx (REG, (mode), (FIRST_PARM_REG + rr)) : 0); @@ -2612,7 +2610,6 @@ sh_function_arg_partial_nregs (CUM, MODE, TYPE, NAMED) if ((CUM) < NPARM_REGS) { if (((TYPE) == 0 || !TREE_ADDRESSABLE ((tree) (TYPE))) - && ((TYPE) == 0 || (TYPE_ALIGN ((TYPE)) % PARM_BOUNDARY == 0)) && ((CUM) + ((MODE) == BLKmode ? ROUND_ADVANCE (int_size_in_bytes (TYPE)) : ROUND_ADVANCE (GET_MODE_SIZE (MODE))) - NPARM_REGS > 0)) |