From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE0793850423; Tue, 30 Mar 2021 11:44:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE0793850423 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble Date: Tue, 30 Mar 2021 11:44:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: meissner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 11:44:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97653 --- Comment #11 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #10) > Is your compiler intentionally configured without --with-long-double-128, No. > i.e. are you intentionally testing the double =3D=3D long double case? Not intentionally, isn't that implied by --with-long-double-format=3Dieee ?! That's what the docs seem to say: Specify whether long double uses the IBM extended double format or the IE= EE 128-bit floating point format on PowerPC Linux systems. [...] If you use the --with-long-double-64 configuration option, the --with-long-double-format=3Dibm and --with-long-double-format=3Dieee opti= ons are ignored. That tells me that using --with-long-double-format=3D{ibm,ieee} chooses *wh= ich* of the 128-bit long double formats you want, and so --with-long-double-128 = is implied. Maybe I'm reading it wrong. Let me test again. Maybe I was using the system libgcc_s.so not the one configured as --with-long-double-format=3Dieee (but I would still expect th= at to work as the system one is from F34's gcc-11).=