From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B06C385222F; Wed, 23 Nov 2022 17:01:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B06C385222F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669222907; bh=kTvp7gvMva3p1SO5LKV4qh2WrrBsO6ydgpyOmst3oZM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XO7NSvu6bRAU3fUcxwTu6EraiaApTzCLOIwxqNk4iVHw8Y2ZUWqan2ZZBiXIjVxql dYIw3lZ9UrLFSzy+Tgujs981srev3C/5uBL7XjGTWae/GTnJTza+FHbooxOVBANzeQ /A7Oe44DcjmeC9jD09XyWxyEGpLjkSdSe1RNtsAo= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29816] [gdb/testsuite, powerpc64le] FAIL: gdb.ada/float-bits.exp: print 16llf#4000921fb54442d18469898cc51701b8# Date: Wed, 23 Nov 2022 17:01:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29816 --- Comment #6 from Tom de Vries --- This makes the test pass for me: ... diff --git a/gdb/testsuite/gdb.ada/float-bits.exp b/gdb/testsuite/gdb.ada/float-bits.exp index 55a0566580c..3bf22637910 100644 --- a/gdb/testsuite/gdb.ada/float-bits.exp +++ b/gdb/testsuite/gdb.ada/float-bits.exp @@ -93,6 +93,10 @@ if { [istarget x86_64-*-* ] || [istarget i?86-*-*] } { set invalid_long_double "16llf#9019a5c800007ffff7ff4054#" set printed_long_double "5.0e\\+25" } +} elseif { [istarget powerpc*-*-*] } { + # 5.0e+25 in floatformat_ibm_long_double. + set valid_long_double "16llf#c1e1c000000000004544adf4b7320335#" + set printed_long_double "50000000000000000000000000.0" } # Exercise GDB-side long doubles. ... but I suppose it'll fail for a compiler defaulting to floatformats_ieee_qua= d. --=20 You are receiving this mail because: You are on the CC list for the bug.=