* [committed] builtins: Fix comment typo mpft_t -> mpfr_t
@ 2023-05-05 7:54 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2023-05-05 7:54 UTC (permalink / raw)
To: gcc-patches
Hi!
I've noticed 4 typos in comments, fixed thusly.
Tested on x86_64-linux and i686-linux, committed to trunk as obvious.
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.
--- gcc/builtins.cc.jj 2023-04-28 08:32:47.943186874 +0200
+++ gcc/builtins.cc 2023-05-04 16:50:16.935259247 +0200
@@ -10911,7 +10911,7 @@ do_mpfr_ckconv (mpfr_srcptr m, tree type
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,
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)
--- gcc/fold-const-call.cc.jj 2023-04-19 09:33:59.333351592 +0200
+++ gcc/fold-const-call.cc 2023-05-04 16:50:33.736019179 +0200
@@ -101,7 +101,7 @@ do_mpfr_ckconv (real_value *result, mpfr
real_from_mpfr (&tmp, m, format, MPFR_RNDN);
/* Proceed iff GCC's REAL_VALUE_TYPE can hold the MPFR values.
- If the REAL_VALUE_TYPE is zero but the mpft_t is not, then we
+ If the REAL_VALUE_TYPE is zero but the mpfr_t is not, then we
underflowed in the conversion. */
if (!real_isfinite (&tmp)
|| ((tmp.cl == rvc_zero) != (mpfr_zero_p (m) != 0)))
@@ -295,7 +295,7 @@ do_mpc_ckconv (real_value *result_real,
real_from_mpfr (&tmp_imag, mpc_imagref (m), format, MPFR_RNDN);
/* Proceed iff GCC's REAL_VALUE_TYPE can hold the MPFR values.
- If the REAL_VALUE_TYPE is zero but the mpft_t is not, then we
+ If the REAL_VALUE_TYPE is zero but the mpfr_t is not, then we
underflowed in the conversion. */
if (!real_isfinite (&tmp_real)
|| !real_isfinite (&tmp_imag)
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-05 7:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05 7:54 [committed] builtins: Fix comment typo mpft_t -> mpfr_t Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).