From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 53EAD3858D35; Wed, 21 Jun 2023 17:41:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53EAD3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687369293; bh=1JXihSdLsuHvzxD1oDvAFL/cM7o8u+THxLzkOkO7ZUQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Gb29gXB3Ax0Dt+7UPyHhHfTCAyji57F95l9iu7K9tRPJ6DLT0NUNd5QoHWftAXdZG C1i1Dc3yRDm1DaLlxO1+9yRNXtdYsxZAnA/r+yucnxPsDgDcKa4rjjjCk1kD7xuGRK a+5V0Eqia6jq/kwxFEqwkMCAbCZZDU7jYuDyiSlw= From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/101002] Some powerpc tests fail with -mlong-double-64 Date: Wed, 21 Jun 2023 17:41:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: NEW 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: 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=3D101002 --- Comment #6 from Peter Bergner --- (In reply to Peter Bergner from comment #5) > The creation of the __ibm128 type is guarded by: >=20 > if (TARGET_LONG_DOUBLE_128 && (!TARGET_IEEEQUAD || TARGET_FLOAT128_TYPE= )) >=20 > Since the __ibm128 type is independent of what long double defaults to, I > assume the fix is to just remove the TARGET_LONG_DOUBLE_128 test giving u= s: >=20 > if (!TARGET_IEEEQUAD || TARGET_FLOAT128_TYPE) I'm going to test the following to see whether anything bad falls out: --- a/gcc/config/rs6000/rs6000-builtin.cc +++ b/gcc/config/rs6000/rs6000-builtin.cc @@ -710,9 +710,9 @@ rs6000_init_builtins (void) For IEEE 128-bit floating point, always create the type __ieee128. If the user used -mfloat128, rs6000-c.cc will create a define from __float12= 8 to __ieee128. */ - if (TARGET_LONG_DOUBLE_128 && (!TARGET_IEEEQUAD || TARGET_FLOAT128_TYPE)) + if (!TARGET_IEEEQUAD || TARGET_FLOAT128_TYPE) { - if (!TARGET_IEEEQUAD) + if (TARGET_LONG_DOUBLE_128 && !TARGET_IEEEQUAD) ibm128_float_type_node =3D long_double_type_node; else {=