diff options
author | John Tytgat <John.Tytgat@aaug.net> | 2010-07-31 14:27:53 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2010-07-31 14:27:53 +0000 |
commit | 6601202c2980c23c590355619ba82d540e50a0ae (patch) | |
tree | 1529f400f14ff834f0849c008ce4d6b7e5b5c678 | |
parent | 08cbf29121d0e0a674bf8fd2d6eddec91948b98f (diff) | |
download | gcc-6601202c2980c23c590355619ba82d540e50a0ae.zip gcc-6601202c2980c23c590355619ba82d540e50a0ae.tar.gz gcc-6601202c2980c23c590355619ba82d540e50a0ae.tar.bz2 |
John Tytgat <John.Tytgat@aaug.net>
John Tytgat <John.Tytgat@aaug.net>
* config/arm/arm.c (arm_function_arg): Remove superfluous test.
From-SVN: r162782
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ded4933..250eb86 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-07-31 John Tytgat <John.Tytgat@aaug.net> + + * config/arm/arm.c (arm_function_arg): Remove superfluous test. + 2010-07-31 Anatoly Sokolov <aesok@post.ru> * config/spu/spu.h (ASM_OUTPUT_SOURCE_FILENAME): Remove macro. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 186b0c6..4ba97f5 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -4488,10 +4488,6 @@ arm_function_arg (CUMULATIVE_ARGS *pcum, enum machine_mode mode, && arm_needs_doubleword_align (mode, type)) pcum->nregs++; - if (mode == VOIDmode) - /* Pick an arbitrary value for operand 2 of the call insn. */ - return const0_rtx; - /* Only allow splitting an arg between regs and memory if all preceding args were allocated to regs. For args passed by reference we only count the reference pointer. */ |