[RFC][4.4] Convenience reorganization of parts of tree.h

Diego Novillo dnovillo@google.com
Sun Dec 2 03:55:00 GMT 2007


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.



More information about the Gcc-patches mailing list