https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103617
Bug ID: 103617 Summary: Debugging gcc: can't use 'pp' command for irange Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: dmalcolm at gcc dot gnu.org Target Milestone: --- Using the GCC ./gcc/gdbinit.in: define pp eval "set $debug_arg = $%s", $argc ? "arg0" : "" call debug ($debug_arg) end $ (gdb) p debug(predicate->true_range) integer(kind=8) [-INF, 2147483646] However: (gdb) pp predicate->true_range Attempt to take address of value not located in memory. And the following works: $ (gdb) pp &predicate->true_range integer(kind=8) [-INF, 2147483646]