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


Richard Guenther wrote:

Please make sure you do not make debugging gcc at -O0 a PITA.   Also
compare gcc bootstrap times for inline fns vs macros.

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


If you mean that now there are more functions to step into, I don't think that is a significant impediment. We already have that in various places. Given the other advantages of the inline functions, the balance is positive.

It has other beneficial properties as well. It makes it easier to refactor internal APIs, add new checks, etc.


Diego.



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