aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorJason Eckhardt <jle@rice.edu>2003-08-23 18:03:06 +0000
committerJason Eckhardt <jle@gcc.gnu.org>2003-08-23 18:03:06 +0000
commitedf11bdaab4cd1c1347451f928318b8abec1c01b (patch)
tree293c2c2d86b49bc9025b414d686b0bd820c75b27 /gcc/calls.c
parente2a188b234821d8246e95ceb19726273df8613e7 (diff)
downloadgcc-edf11bdaab4cd1c1347451f928318b8abec1c01b.zip
gcc-edf11bdaab4cd1c1347451f928318b8abec1c01b.tar.gz
gcc-edf11bdaab4cd1c1347451f928318b8abec1c01b.tar.bz2
calls.c (emit_library_call_value_1): Remove code related to LIBGCC_NEEDS_DOUBLE.
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. From-SVN: r70740
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 f4bf6d3..11d4232 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. */