diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-01 08:19:13 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-01 08:19:13 +0000 |
commit | 32f796571b2afdb500df28597a6cc1a83de6f914 (patch) | |
tree | 18171d82f2b441c17a136254dc520ee70b3b96ee /gcc/config/spu/spu.c | |
parent | cf85f8357f4f331a8cc0c33c7482a00d658244cf (diff) | |
download | gcc-32f796571b2afdb500df28597a6cc1a83de6f914.tar.gz |
gcc/
* expr.c (emit_block_move_via_movmem): Use n_generator_args
instead of n_operands.
(set_storage_via_setmem): Likewise.
* optabs.c (maybe_gen_insn): Likewise.
* config/arm/arm.c (arm_init_neon_builtins): Likewise.
* config/mips/mips.c (mips_expand_builtin_compare_1): Likewise.
(mips_expand_builtin_direct): Likewise.
* config/spu/spu.c (expand_builtin_args): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171823 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/spu/spu.c')
-rw-r--r-- | gcc/config/spu/spu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 46bc586c2c7..8a5928b6638 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -6545,9 +6545,7 @@ expand_builtin_args (struct spu_builtin_description *d, tree exp, ops[i] = expand_expr (arg, NULL_RTX, VOIDmode, EXPAND_NORMAL); } - /* The insn pattern may have additional operands (SCRATCH). - Return the number of actual non-SCRATCH operands. */ - gcc_assert (i <= insn_data[icode].n_operands); + gcc_assert (i == insn_data[icode].n_generator_args); return i; } |