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: [RFC][4.4] Convenience reorganization of parts of tree.h


>>>>> "Dan" == Daniel Berlin <dberlin@dberlin.org> writes:

Diego> Turning macros into inline functions has the exact opposite effect for
Diego> debugging.  It will now be possible to call these accessors from gdb
Diego> instead of having to remember the field names.

Dan> Compile with -g3 and you can use the macros as if they were functions.
Dan> :)

... except for the statement-expressions in all the tree type checks :-(

Changing the checking macros as a first step would be easy and
immediately beneficial.  So, hint hint, please start there.

Overall I think I'm generally in favor the project -- since I have an
idea in mind for how to abuse the new accessors when debugging the
incremental compiler -- but provided due diligence is done on the
performance and code size questions, which I think were raised last
time this was discussed on the list.

Tom


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