]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 894d105237ec1c4b9d7d341d3fe127f2946485e1..97453c1917ac9a4e3302dcf2c6168b9c054ef6bb 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 3a834450eb1f0b6e05c8fc238ab740fb66108627..e8673bcaed95601d775680acdaf0e50dfb27d15f 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