This is the mail archive of the gcc@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: needless deep recursion in gt-c-decl.h


David Edelsohn wrote:
Per Bothner writes:

Per> I'm point point is I'm not sure a two-loop algorithm is needed.
Per> I got the impression is that the one-loop argorithm doesn't work
Per> for trees because of references from trees to rtl, like DECL_RTL.
Per> I don't understand how rtl to the same extent, but I also think
Per> a single loop should be enough to avoid deep recursion.

Per> I'm just concerned about slowing down gcc bit by bit.

	Does GCC always do the marking or only when PCH will be enabled?
Always (unless I'm very confused) - this is the compile-time
garbage collection we're talking about.  It was re-written in
conjunction with PCH, but it's still the same basic ggc, except
that the tree-marking and rtl-marking code is now auto-generated
from the header files.
--
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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