public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/113382] FAIL: gcc.dg/debug/btf/btf-bitfields-3.c scan-assembler-times [\t ]0x6000004[\t ]+[^\n]*btt_info 1
Date: Mon, 22 Jan 2024 15:34:22 +0000	[thread overview]
Message-ID: <bug-113382-4-Bh69Jl3U9l@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113382-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113382

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
dtd->dtd_enum_unsigned is set in ctf_add_enum:
dtd->dtd_enum_unsigned = eunsigned;

  /* Generate a CTF type for the enumeration.  */
  enumeration_type_id = ctf_add_enum (ctfc, CTF_ADD_ROOT,
                                      enum_name, bit_size / 8,
                                      (signedness == DW_ATE_unsigned),
                                      enumeration);

signedness = 0

(gdb) bt
#0  ctf_add_enum (ctfc=0x800003ffbfea7c00, flag=1,
    name=0x800003ffbfe6b188 "foo", size=4, eunsigned=false,
    die=0x800003ffbfea2320) at ../../gcc/gcc/ctfc.cc:591
#1  0x400000000082df34 in gen_ctf_enumeration_type (
    enumeration=0x800003ffbfea2320, ctfc=0x800003ffbfea7c00)
    at ../../gcc/gcc/dwarf2ctf.cc:762
#2  gen_ctf_type (ctfc=0x800003ffbfea7c00, die=0x800003ffbfea2320)
    at ../../gcc/gcc/dwarf2ctf.cc:899
#3  0x400000000082e8b8 in ctf_do_die (die=0x800003ffbfea2320)
    at ../../gcc/gcc/dwarf2ctf.cc:978
#4  0x400000000088f9b0 in ctf_debug_do_cu (die=<optimized out>)
    at ../../gcc/gcc/dwarf2out.cc:33017
#5  ctf_debug_do_cu (die=<optimized out>) at ../../gcc/gcc/dwarf2out.cc:33010
#6  dwarf2out_early_finish (filename=0x800003ffbfea7c00 "▒\362\004\002")
    at ../../gcc/gcc/dwarf2out.cc:33146
#7  0x40000000007de578 in symbol_table::finalize_compilation_unit (
    this=0x800003ffbfe6b188) at ../../gcc/gcc/cgraphunit.cc:2579
#8  0x4000000000d55338 in compile_file () at ../../gcc/gcc/toplev.cc:474

  parent reply	other threads:[~2024-01-22 15:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-13 19:24 [Bug debug/113382] New: " danglin at gcc dot gnu.org
2024-01-21 22:00 ` [Bug debug/113382] " danglin at gcc dot gnu.org
2024-01-21 22:54 ` danglin at gcc dot gnu.org
2024-01-22  2:35 ` danglin at gcc dot gnu.org
2024-01-22 15:34 ` danglin at gcc dot gnu.org [this message]
2024-01-22 18:09 ` danglin at gcc dot gnu.org
2024-01-22 19:08 ` cvs-commit at gcc dot gnu.org
2024-01-22 19:12 ` danglin 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-113382-4-Bh69Jl3U9l@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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: link
Be 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).