summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-17 08:50:41 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-17 08:50:41 +0000
commitb112fabcd09ee13e45491076fb6f8e46da88608e (patch)
treea55ee42ecea3a6ffae502d459d66ad9c41f20937
parentd53dda38657b44a6a07aa3abee3ac4c5182b09d7 (diff)
downloadppe42-gcc-b112fabcd09ee13e45491076fb6f8e46da88608e.tar.gz
ppe42-gcc-b112fabcd09ee13e45491076fb6f8e46da88608e.zip
* convert.c (convert_to_real): Disable function transformation for
now. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60206 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/convert.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fecf8e7d6e4..b7d635dd5a3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec 17 09:47:57 CET 2002 Jan Hubicka <jh@suse.cz>
+
+ * convert.c (convert_to_real): Disable function transformation for
+ now.
+
2002-12-16 Geoffrey Keating <geoffk@apple.com>
* gcc.c (handle_braces): Allow '@' as a switch name.
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))
OpenPOWER on IntegriCloud