From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DCFD03858020; Mon, 28 Nov 2022 13:04:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DCFD03858020 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669640655; bh=4SB9epXW50WITDjFS+NpI87yA5txkJ2HfBAZW8Yr22w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nH1DLevc8FdRk3EBOWhYQUijfYkxto/Gej2fT62Z6EkDQVkrleH0kmlWdT4MdArE2 RybnjNJvpUZnKv9FXKOO1bjByPjJ5GkdbG4V2UPI5ep2viUYdNLFNKWG45GEjRoNWK xtQpxOWm4wYc96PPPPBX9/p/H31ohxnYKId2SOJk= From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs Date: Mon, 28 Nov 2022 13:04:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107815 --- Comment #19 from dave.anglin at bell dot net --- On 2022-11-28 4:39 a.m., jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107815 > > --- Comment #18 from Jakub Jelinek --- > Or better yet > #include > #include > > int > main () > { > char *end; > const char *p =3D "6e-4966"; > long double l =3D strtold (p, &end); > if (l !=3D __LDBL_DENORM_MIN__ || end !=3D p + 7) > printf ("%Le %s\n", l, end); > p =3D "1e-4965"; > l =3D strtold (p, &end); > if (l !=3D 2.0L * __LDBL_DENORM_MIN__ || end !=3D p + 7) > printf ("%Le %s\n", l, end); > p =3D "2e-4965"; > l =3D strtold (p, &end); > if (l !=3D 3.0L * __LDBL_DENORM_MIN__ || end !=3D p + 7) > printf ("%Le %s\n", l, end); > return 0; > } > so that we know if it is just the denorm_min() case or also other denorma= ls. I tried both test cases with a recent build of gcc-12. Neither failed at O0= or O2. Nothing was printed.=