public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.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 [thread overview] Message-ID: <bug-30908-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=30908 Bug ID: 30908 Summary: [gdb/ada, gcc 13] FAIL: gdb.ada/str_binop_equal.exp: print my_str = "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 = "ABCD" FAIL: gdb.ada/widewide.exp: print my_wws = " helo" FAIL: gdb.ada/widewide.exp: print my_ws = "wide" ... I Investigated the middle one, using: ... +gdb_test "set debug expr 1" gdb_test "print my_wws = \" helo\"" " = true" +gdb_test "set debug expr 0" ... With gcc 7.5.0 I get: ... (gdb) print my_wws = " 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 = true^M (gdb) PASS: gdb.ada/widewide.exp: print my_wws = " helo" ... With gcc 13.2.1 I get: ... (gdb) print my_wws = " helo"^M Operation: OP_FUNCALL^M Operation: OP_VAR_VALUE^M Block symbol:^M Symbol: ada.strings.maps."="^M Type: function (a1: <ref> ada.strings.maps.character_set; a2: <ref> 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 = false^M (gdb) FAIL: gdb.ada/widewide.exp: print my_wws = " helo" ... I don't know what's the cause of the difference, but I'm tentatively classifying this as an ada problem. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2023-09-26 15:11 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-26 15:11 vries at gcc dot gnu.org [this message] 2023-09-26 15:37 ` [Bug ada/30908] " tromey at sourceware dot org 2023-09-26 17:14 ` vries at gcc dot gnu.org 2023-09-26 23:31 ` vries at gcc dot gnu.org 2023-09-27 6:58 ` vries at gcc dot gnu.org 2023-10-01 13:26 ` vries at gcc dot gnu.org 2023-10-02 17:48 ` cvs-commit at gcc dot gnu.org 2024-02-26 18:38 ` tromey at sourceware dot org 2024-02-27 11:14 ` vries at gcc dot gnu.org 2024-02-27 11:23 ` vries at gcc dot gnu.org 2024-02-27 15:21 ` cvs-commit at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30908-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).