From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A766E3858412; Tue, 26 Sep 2023 15:11:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A766E3858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695741101; bh=dQFg5+m7RaPU00FItTtOcZByu4mlzPnPJ0l3z0gA49c=; h=From:To:Subject:Date:From; b=Ei7rc/WEFLc1URQplaerBa4dngIq3hNeJo8X7criquHqqa6Gh6+OqGEwiKB4zr5O5 usvNQk9BDhv9Wrtf5yhDKWDNih14IgQTyOvYXx6y/7dgfZatpGuc35IhGZBClcC7V5 aYzUfvaAsDEGn+Cfd93mKFI53FAahQLW6QC+wKBw= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug ada/30908] New: [gdb/ada, gcc 13] FAIL: gdb.ada/str_binop_equal.exp: print my_str = "ABCD" Date: Tue, 26 Sep 2023 15:11:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada 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: 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=3D30908 Bug ID: 30908 Summary: [gdb/ada, gcc 13] FAIL: gdb.ada/str_binop_equal.exp: print my_str =3D "ABCD" Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: ada Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- With gcc 13.2.1, I run into a cluster of fails: ... FAIL: gdb.ada/str_binop_equal.exp: print my_str =3D "ABCD" FAIL: gdb.ada/widewide.exp: print my_wws =3D " helo" FAIL: gdb.ada/widewide.exp: print my_ws =3D "wide" ... I Investigated the middle one, using: ... +gdb_test "set debug expr 1"=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 gdb_test "print my_wws =3D \" helo\"" " =3D true"=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 +gdb_test "set debug expr 0"=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 ... With gcc 7.5.0 I get: ... (gdb) print my_wws =3D " helo"^M Operation: BINOP_EQUAL^M Operation: BINOP_EQUAL^M Operation: OP_VAR_VALUE^M Block symbol:^M Symbol: my_wws^M Type: array (1 .. 5) of wide_wide_character^M Block: 0x2e25f70^M Operation: OP_STRING^M String: helo^M $7 =3D true^M (gdb) PASS: gdb.ada/widewide.exp: print my_wws =3D " helo" ... With gcc 13.2.1 I get: ... (gdb) print my_wws =3D " helo"^M Operation: OP_FUNCALL^M Operation: OP_VAR_VALUE^M Block symbol:^M Symbol: ada.strings.maps."=3D"^M Type: function (a1: ada.strings.maps.character_set; a2: ada.strings.maps.character_set) return boolean^M Block: 0x3a9e450^M Vector:^M Operation: OP_VAR_VALUE^M Block symbol:^M Symbol: my_wws^M Type: array (1 .. 5) of wide_wide_character^M Block: 0x3855d00^M Operation: OP_STRING^M String: helo^M $7 =3D false^M (gdb) FAIL: gdb.ada/widewide.exp: print my_wws =3D " helo" ... I don't know what's the cause of the difference, but I'm tentatively classifying this as an ada problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=