From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E80C382FADD; Wed, 16 Nov 2022 19:20:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E80C382FADD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668626452; bh=SKhrqLhfJc/u09ALAAgFksbaHmmlcC4I5Af3qlA0Jmk=; h=From:To:Subject:Date:From; b=aDudxjk/wr4IAGXmT0LA2On1V/gnOQnHNfGnRdeLQjn8+IBaDfNRkZhNnaPaVAyJk M4+Uo8EUlZ035O77XCzkd8l5NHJGWsMCS2GKApIXK3u9mdDCc67NQ8skKenp+rz4Du ugNkdYW5BxzYKq0xoGay/PymIcSOPX4htgrFGoY4= From: "cel at us dot ibm.com" To: gdb-prs@sourceware.org Subject: [Bug gdb/29795] New: [gdb, PowerPC] gdb.base/store.exp fails to return the correct value Date: Wed, 16 Nov 2022 19:20:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cel at us dot ibm.com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D29795 Bug ID: 29795 Summary: [gdb, PowerPC] gdb.base/store.exp fails to return the correct value Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: cel at us dot ibm.com Target Milestone: --- The gdb.base/store.exp fails on Power10, with: gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2) Fedora release 36 (Thirty Six) It generates 5 failures: (gdb) PASS: gdb.base/store.exp: continue to wack_doublest print l $29 =3D -1.9375 (gdb) FAIL: gdb.base/store.exp: var doublest l; print old l, expecting -1 print r $30 =3D 3.20641835417611559822573486476171432e-4938 (gdb) FAIL: gdb.base/store.exp: var doublest l; print old r, expecting -2 set variable l =3D 4 ... print l $32 =3D 3.999996185302734375 (gdb) FAIL: gdb.base/store.exp: var doublest l; print incremented l, expect= ing \ 2print l ... $54 =3D -1.9375 (gdb) FAIL: gdb.base/store.exp: upvar doublest l; print old l, expecting -1 print r $55 =3D 3.20680779558280486578025331197365593e-4938 (gdb) FAIL: gdb.base/store.exp: upvar doublest l; print old r, expecting -2 set variable l =3D 4 I suspect it has something to do with the "new" default use of IEEE 128-bit floating point. NOTE: the test does not fail on Power 10 with: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Red Hat Enterprise Linux release 9.0 (Plow) --=20 You are receiving this mail because: You are on the CC list for the bug.=