On Wed, Mar 07, 2012 at 11:57:18AM +0100, Richard Guenther wrote:
> > Logically, the target structure should be for target-specific rtl.
> > Target-independent rtl like constants, (cc0), (pc), etc., should be
> > shared between targets.  It seems a shame if GC inefficiencies
> > force us to use a different scheme.
> Ok, if we know for certain this rtl will be never target specific (consider
> a gcc for multiple targets, sparc and x86_64 for example), then we
> should have a single structure that contains all those global rtxen.

Or perhaps just optimize, say by putting such global rtxs (or tree and other
single entry GC roots of the exactly same properties) into named sections
(when supported) and letting gengtype create just one root covering the
whole section.


Reply via email to