needless deep recursion in gt-c-decl.h

Per Bothner per@bothner.com
Mon Aug 5 11:56:00 GMT 2002


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/



More information about the Gcc mailing list