summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorjle <jle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-23 18:03:06 +0000
committerjle <jle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-23 18:03:06 +0000
commit0354094f7e8e55d3c1dd238ad012f072157bd1c8 (patch)
tree293c2c2d86b49bc9025b414d686b0bd820c75b27 /gcc/calls.c
parent51888f0bbbb438c5f44da0199b33b1bc3209b8a1 (diff)
downloadgcc-0354094f7e8e55d3c1dd238ad012f072157bd1c8.tar.gz
2003-08-23 Jason Eckhardt <jle@rice.edu>
* calls.c (emit_library_call_value_1): Remove code related to LIBGCC_NEEDS_DOUBLE. * config/stormy16/stormy16.h: Remove mention of LIBGCC_NEEDS_DOUBLE. * doc/tm.texi: Likewise. * system.h: Poison the LIBGCC_NEEDS_DOUBLE macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70740 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index f4bf6d3b70d..11d423275b3 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -3733,13 +3733,6 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value,
|| (GET_MODE (val) != mode && GET_MODE (val) != VOIDmode))
abort ();
- /* On some machines, there's no way to pass a float to a library fcn.
- Pass it as a double instead. */
-#ifdef LIBGCC_NEEDS_DOUBLE
- if (LIBGCC_NEEDS_DOUBLE && mode == SFmode)
- val = convert_modes (DFmode, SFmode, val, 0), mode = DFmode;
-#endif
-
/* There's no need to call protect_from_queue, because
either emit_move_insn or emit_push_insn will do that. */