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: [C++] Remove uses of TREE_COMPLEXITY from the C++ front end


On Sat, 12 Jun 2004, Steven Bosscher wrote:

> The whole point is to remove it from the C front end eventually.
> I plan to do this by using a tree annotation for that, ie. some
> mechanism to allow the front ends to use tree annotations (but
> other suggestions are welcome).

I have a proposal for keeping this sort of information in separate
structures outside the trees altogether discussed in comment #15 to bug
14711 (and something similar proposed by Roger Sayle in
<http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00332.html>) and slightly
expanded at <http://www.srcf.ucam.org/~jsm28/gcc/#parsestruct> but won't
object to use of tree annotations to provide at least an interim fix
(presuming they do provide the desired memory savings from getting rid of
this complexity field) that avoids the need for more wide-ranging
front-end changes of more general use.

-- 
Joseph S. Myers
jsm@polyomino.org.uk


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