From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0692B3858D28; Thu, 21 Mar 2024 08:00:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0692B3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711008050; bh=vsgbsBNnD6E04Ihs6aDpOcsasB8YIAGbNx/QGAJ52Dg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GcfHHj+iLN08T8lTxEdabqt7oZ6AGz68lvLinUTf6EuLURqPFQMQcgpVf8S2ObFDN v1UBfGja3DluqqzOlrtvLQVPdW7zHEfiU94+AHsjuU/0KbIgB0Sy9VOxrqE6YHh9SJ Tw94Dc7Peg8PkRR3qdDGUBE6lZ9+EkMo1QPB5k+0= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31514] [gdb/testsuite] FAIL: gdb.ada/tagged-lookup.exp: only one CU expanded Date: Thu, 21 Mar 2024 08:00:49 +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=3D31514 --- Comment #7 from Tom de Vries --- Tentative patch: ... diff --git a/gdb/testsuite/gdb.ada/tagged-lookup.exp b/gdb/testsuite/gdb.ada/tagged-lookup.exp index 4bc088ba8d5..3803319c505 100644 --- a/gdb/testsuite/gdb.ada/tagged-lookup.exp +++ b/gdb/testsuite/gdb.ada/tagged-lookup.exp @@ -52,7 +52,7 @@ gdb_test_multiple "print *the_local_var" "only one CU expanded" -lbl { exp_continue } -re -wrap ".* =3D \\\(n =3D> $decimal\\\)" { - if {$found_pck + $found_pck2 =3D=3D 1} { + if {$found_pck + $found_pck2 <=3D 1} { pass $gdb_test_name } else { fail $gdb_test_name ... It detects the fail with fix reverted for gcc-12 and gcc-13, though not bef= ore. And it make the test pass for gcc-12 and gcc-13 with the fix present. --=20 You are receiving this mail because: You are on the CC list for the bug.=