[PATCH][RFC] Introduce type safety and debuggability into tree.h

Tom Tromey tromey@redhat.com
Thu Aug 9 23:39:00 GMT 2007


>>>>> "Simon" == Simon Baldwin <simonb@google.com> writes:

Simon> This patch replaces some of the function-like macros in gcc/tree.h
Simon> with static inlined function equivalents.

Simon> The aim is to improve the experience of debugging gcc with gdb, and to
Simon> introduce some type-safety into tree accessor functions.  

Nice.  For debugging it would be nice to get rid of all the statement
expressions (my #1 complaint when debugging gcc), but I suppose this
goes quite a long way toward that by making one less likely to hit
them with gdb.

Tom



More information about the Gcc-patches mailing list