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

            Bug ID: 121411
           Summary: ctf type size truncated for large data types
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: martin.pirker1 at chello dot at
  Target Milestone: ---

Discovered this bug when testing my ctf lib:

In gcc/dwarf2ctf.cc:gen_ctf_sou_type() line 528 (release 15.1.0),
uint32_t for bit_size is too small,
size param of ctf_add_sou() is truncated
and no CTF_LSIZE_SENT info is generated.

example:
int     dummy1[0xffffffff];  // ok
int     dummy2[0x100000000]; // ctf size 0

Reply via email to