This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/6] Conversion of gimple types to C++ inheritance (v3)


>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:

Jakub> 1) p debug_tree (0x7ffff18b3690)
Jakub>    not working anymore, typically one would use this when just
Jakub>    cut'n'pasting addresses seen in backtrace, other debug_tree
Jakub>    etc., one now has to add explicitly a cast p debug_tree
Jakub>    ((tree)0x7ffff18b3690).  Perhaps this can be cured just by
Jakub>    adding extra overloads for a few most popular debug_* routines
Jakub>    that weren't initially overloaded, add them an overload with
Jakub>    uintptr_t type or similar that will just cast it to the right
Jakub>    type and call the original routine

Last time this came up, we added the feature to gdb.  You have to enable
it, though.  Use "set check type off".

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]