From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0474E3858D1E; Mon, 5 Feb 2024 14:52:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0474E3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707144753; bh=h25e8XOXMMUqVkRmQuKwc2T+XLzNHLFSGNh5TwKcn6I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LxQ9716CBzFYTNu2VY1XeM5DQw9idmYWb5vErHnraejL4D1v4VhdibfuRfshqDt8E IZgOb+gzhDEWuASlrCG4j8sKnmWCyg9ZG4ToUXh2RYR4I+X3tnleFjg/0dIiAPHjKo QDT/0vajeOtT/JHpQtU356iC5Pdo52wfNKK7llh8= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113770] _Float64x support on g++ 13.2.0 Date: Mon, 05 Feb 2024 14:52:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D113770 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- (In reply to Masahide Kashiwagi from comment #3) > I forgot to mention in my earlier post that these two programs work fine = in > g++ 12. Because same thing as for clang applies there, _Float64 or _Float64x types aren't supported there in C++. gcc 12 and earlier only supports them in C. In GCC 13 and later, they are supported in C++ as well as distinct types, _Float{16,32,64,128} as underlying types for std::float{16,32,64,128}_t,=20 and the x suffixed types just with minimal support (the compiler can mangle them among other things). But because they aren't standard C++, the library doesn't know about them a= nd because they are distinct from long double etc. (again, intentional, because they should mangle differently), the long double etc. support in the STL headers doesn't work for those. > Also, at https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html it says t= hat > __float80 and _Float64x are 80-bit extended floating point numbers and are > available on x86. Has support for _Float64x been stopped? No, it has been added, but just in very limited way.=