summaryrefslogtreecommitdiff
path: root/gcc/convert.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-12-17 09:50:41 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2002-12-17 08:50:41 +0000
commit4b207444846fc4996d8f893697f491c52156d125 (patch)
treea55ee42ecea3a6ffae502d459d66ad9c41f20937 /gcc/convert.c
parent3ac036b50ba62792c7559decf597bb40b5705359 (diff)
downloadgcc-4b207444846fc4996d8f893697f491c52156d125.tar.gz
convert.c (convert_to_real): Disable function transformation for now.
* convert.c (convert_to_real): Disable function transformation for now. From-SVN: r60206
Diffstat (limited to 'gcc/convert.c')
-rw-r--r--gcc/convert.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/convert.c b/gcc/convert.c
index 2ceccac41b3..6c6a36e54f9 100644
--- a/gcc/convert.c
+++ b/gcc/convert.c
@@ -110,6 +110,9 @@ convert_to_real (type, expr)
enum built_in_function fcode = builtin_mathfn_code (expr);
tree itype = TREE_TYPE (expr);
+ /* Disable until we figure out how to decide whether the functions are
+ present in runtime. */
+#if 0
/* Convert (float)sqrt((double)x) where x is float into sqrtf(x) */
if ((fcode == BUILT_IN_SQRT
|| fcode == BUILT_IN_SQRTL
@@ -196,6 +199,7 @@ convert_to_real (type, expr)
}
}
}
+#endif
/* Propagate the cast into the operation. */
if (itype != type && FLOAT_TYPE_P (type))