From: rearnsha Date: Sat, 31 Jul 2010 14:27:53 +0000 (+0000) Subject: John Tytgat X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=519915db7e998375fc08430eb857ff3b1c8192b7;hp=8db16774f1ed26f007a7e32e81de1f11dd65a3e4 John Tytgat * config/arm/arm.c (arm_function_arg): Remove superfluous test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162782 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ded4933244f..250eb8693ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-07-31 John Tytgat + + * config/arm/arm.c (arm_function_arg): Remove superfluous test. + 2010-07-31 Anatoly Sokolov * 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 186b0c6645d..4ba97f531c4 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. */