convert.c (convert_to_real): Disable function transformation for now.
authorJan Hubicka <jh@suse.cz>
Tue, 17 Dec 2002 08:50:41 +0000 (09:50 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 17 Dec 2002 08:50:41 +0000 (08:50 +0000)
* convert.c (convert_to_real): Disable function transformation for
now.

From-SVN: r60206

gcc/ChangeLog
gcc/convert.c

index fecf8e7d6e43726db31af4d109190ca970d0c2fd..b7d635dd5a35a540c01f1537de1202cd327bd382 100644 (file)
@@ -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.
index 2ceccac41b3eaf6a0ed8b6ff5d4ecc9669f72bb0..6c6a36e54f93c81a45be27d7f3645245a2816ad4 100644 (file)
@@ -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))