convert.c (convert_to_real): Fix typos in `long double' builtins.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Wed, 17 Mar 2004 04:43:41 +0000 (04:43 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Wed, 17 Mar 2004 04:43:41 +0000 (04:43 +0000)
* convert.c (convert_to_real): Fix typos in `long double'
builtins.

From-SVN: r79571

gcc/ChangeLog
gcc/convert.c

index 894d105..97453c1 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * convert.c (convert_to_real): Fix typos in `long double'
+       builtins.
+
 2004-03-16  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/14481
index 3a83445..e8673bc 100644 (file)
@@ -174,9 +174,9 @@ convert_to_real (tree type, tree expr)
   if (optimize
       && (((fcode == BUILT_IN_FLOORL
           || fcode == BUILT_IN_CEILL
-          || fcode == BUILT_IN_ROUND
-          || fcode == BUILT_IN_TRUNC
-          || fcode == BUILT_IN_NEARBYINT)
+          || fcode == BUILT_IN_ROUNDL
+          || fcode == BUILT_IN_TRUNCL
+          || fcode == BUILT_IN_NEARBYINTL)
          && (TYPE_MODE (type) == TYPE_MODE (double_type_node)
              || TYPE_MODE (type) == TYPE_MODE (float_type_node)))
          || ((fcode == BUILT_IN_FLOOR