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++


Per Bothner <per@bothner.com> writes:

> 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.

Sounds good.

> 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.

We don't yet know if we're picking up one of those compilers, but I
think it's a safe bet that we aren't doing it for 3.5 - not when we're
already in stage 2.  Whereas it would be really nice if the complexity
field could go away in 3.5.  So I'd encourage doing this work now.

zw


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