https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120902
Bug ID: 120902
Summary: void debug (const tree_node *ptr) doesn't work
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
(gdb) call debug (type)
(gdb) whatis type
type = const_tree
(gdb) call debug_tree (type)
<real_type 0x7fffe982f2a0 float sizes-gimplified SF
size <integer_cst 0x7fffe98204e0 type <integer_type 0x7fffe98280a8
bitsizetype> constant 32>
unit-size <integer_cst 0x7fffe98204f8 type <integer_type 0x7fffe9828000
sizetype> constant 4>
align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7fffe982f2a0 precision:32
pointer_to_this <pointer_type 0x7fffe982f930>>
(gdb)