aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-05-05 09:52:28 +0200
committerJakub Jelinek <jakub@redhat.com>2023-05-05 09:52:28 +0200
commit21cf5ec1993f33d7993559db25bc14c1fa57d790 (patch)
tree266e7cc10ca43cd72f987bc256585ede16c2fd69 /gcc/builtins.cc
parent2e4e899641c0c558eabf0128ee72cb8d3999c990 (diff)
downloadgcc-21cf5ec1993f33d7993559db25bc14c1fa57d790.zip
gcc-21cf5ec1993f33d7993559db25bc14c1fa57d790.tar.gz
gcc-21cf5ec1993f33d7993559db25bc14c1fa57d790.tar.bz2
builtins: Fix comment typo mpft_t -> mpfr_t
I've noticed 4 typos in comments, fixed thusly. 2023-05-05 Jakub Jelinek <jakub@redhat.com> * builtins.cc (do_mpfr_ckconv, do_mpc_ckconv): Fix comment typo, mpft_t -> mpfr_t. * fold-const-call.cc (do_mpfr_ckconv, do_mpc_ckconv): Likewise.
Diffstat (limited to 'gcc/builtins.cc')
-rw-r--r--gcc/builtins.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/builtins.cc b/gcc/builtins.cc
index bd07873..c21c468 100644
--- a/gcc/builtins.cc
+++ b/gcc/builtins.cc
@@ -10911,7 +10911,7 @@ do_mpfr_ckconv (mpfr_srcptr m, tree type, int inexact)
real_from_mpfr (&rr, m, type, MPFR_RNDN);
/* Proceed iff GCC's REAL_VALUE_TYPE can hold the MPFR value,
check for overflow/underflow. If the REAL_VALUE_TYPE is zero
- but the mpft_t is not, then we underflowed in the
+ but the mpfr_t is not, then we underflowed in the
conversion. */
if (real_isfinite (&rr)
&& (rr.cl == rvc_zero) == (mpfr_zero_p (m) != 0))
@@ -10952,7 +10952,7 @@ do_mpc_ckconv (mpc_srcptr m, tree type, int inexact, int force_convert)
real_from_mpfr (&im, mpc_imagref (m), TREE_TYPE (type), MPFR_RNDN);
/* Proceed iff GCC's REAL_VALUE_TYPE can hold the MPFR values,
check for overflow/underflow. If the REAL_VALUE_TYPE is zero
- but the mpft_t is not, then we underflowed in the
+ but the mpfr_t is not, then we underflowed in the
conversion. */
if (force_convert
|| (real_isfinite (&re) && real_isfinite (&im)