]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
John Tytgat <John.Tytgat@aaug.net>
authorJohn Tytgat <John.Tytgat@aaug.net>
Sat, 31 Jul 2010 14:27:53 +0000 (14:27 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Sat, 31 Jul 2010 14:27:53 +0000 (14:27 +0000)
John Tytgat  <John.Tytgat@aaug.net>
* config/arm/arm.c (arm_function_arg): Remove superfluous test.

From-SVN: r162782

gcc/ChangeLog
gcc/config/arm/arm.c

index ded4933244f09f0369a3723721fab78af5bb7435..250eb8693ca8640c1c0a68904b3b87017e9eb54a 100644 (file)
@@ -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.
index 186b0c6645dfa57694be3514996ea83a9930b9be..4ba97f531c4772c0998354a29cf8177ac3c0cdf5 100644 (file)
@@ -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.  */