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


Geoff Keating wrote:
The slowdown appears to be in using a two-loop algorithm for marking
RTL, not in marking trees or in the third loop.
I'm point point is I'm not sure a two-loop algorithm is needed.
I got the impression is that the one-loop argorithm doesn't work
for trees because of references from trees to rtl, like DECL_RTL.
I don't understand how rtl to the same extent, but I also think
a single loop should be enough to avoid deep recursion.

I'm just concerned about slowing down gcc bit by bit.
--
	--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]