gimplify.c - missing tree codes

Ian Lance Taylor iant@google.com
Mon Mar 8 14:33:00 GMT 2010


Steve Teale <steve.teale@britseyeview.com> writes:

> I have two outstanding buts of patch where I'm not making much progress.
> Between 4.3.4 and 4.4.3, tree-gimple disappeared, and was replaced by
> gimple, and tree-nested was radically changed. Do you know much about
> those changes?

In gcc 4.4 we introduced a new intermediate representation which uses
less memory and is more efficient to work with.  It is called GIMPLE
and is documented in doc/gimple.texi.  The C/C++ frontends used to
produce general trees, and the gimplification pass trimmed that down
to a language-independent set of trees known as GENERIC.  The
gimplification pass now produces a new IR, GIMPLE, rather than
GENERIC.  I don't know what your patches do or where they are supposed
to take effect.  If you are changing something which affects the
middle-end, then you are going to need to write it for GIMPLE rather
than for GENERIC.  If your new tree codes are front-end specific, then
you need to figure out how to translate them into GIMPLE.

Ian



More information about the Gcc-help mailing list