OSDN Git Service

(emit_library_call_value): Remove redundant check for outmode !=
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jan 1997 23:43:56 +0000 (23:43 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 4 Jan 1997 23:43:56 +0000 (23:43 +0000)
VOIDmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13369 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/calls.c

index b144845..d7c4c31 100644 (file)
@@ -1,5 +1,5 @@
 /* Convert function calls to rtl insns, for GNU C compiler.
-   Copyright (C) 1989, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1989, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -2875,8 +2875,7 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
               build_function_type (type_for_mode (outmode, 0), NULL_TREE),
                args_size.constant, struct_value_size,
               FUNCTION_ARG (args_so_far, VOIDmode, void_type_node, 1),
-              (outmode != VOIDmode && mem_value == 0
-               ? hard_libcall_value (outmode) : NULL_RTX),
+              mem_value == 0 ? hard_libcall_value (outmode) : NULL_RTX,
               old_inhibit_defer_pop + 1, call_fusage, is_const);
 
   /* Now restore inhibit_defer_pop to its actual original value.  */