This is the mail archive of the
mailing list for the GCC project.
Re: [RFC][4.4] Convenience reorganization of parts of tree.h
- From: Diego Novillo <dnovillo at google dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: Simon Baldwin <simonb at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 01 Dec 2007 10:37:48 -0800
- Subject: Re: [RFC][4.4] Convenience reorganization of parts of tree.h
- References: <20071130002823.A8E0E41A9D4@localhost> <firstname.lastname@example.org>
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
It has other beneficial properties as well. It makes it easier to
refactor internal APIs, add new checks, etc.