This is the mail archive of the gcc-patches@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: Patches to remove TREE_COMPLEXITY for C and C++


Mark Mitchell wrote:
That's too bad -- saving four bytes per expression would not be insignificant. After a quick look, though, I don't see a dead-simple way of changing Java, and I haven't looked at Ada.

It's far from dead-simple, but my hope is that porting Java to --enable-mapped-location will allow us to remove not only the complexity field, but also EXPR_WITH_FILE_LOCATION. That removes even more overhead, since it would remove a lot of extra trees.

But this involves a lot of code cleanup in the Java parser and
related code.  And of course that woudl would be mostly wasted
if we ended up using either Tom's or Eclipse's compiler.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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