[m-dev.] for review: GCC back-end interface

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Jan 10 21:34:23 AEDT 2001


On 09-Jan-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> 
> Could you add a sentence explaining why we might (or might not) need to
> do 
> 	TREE_STATIC ((tree) Expr) = 1;
> 
> Reading the gcc source code tells me that this means allocate static
> storage.  But it would be nice to know why you aren't sure whether we
> should use it or not -- what are the issues?

Are MLDS initializers only used for static initializers?
Does GCC require initializers for static variables to be
marked with TREE_STATIC() = 1?

> Or is it simply something
> that needs to be investigated or experimented with and it is more
> trouble to document than to investigate?

Yes.  But I'll add the two sentences above.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list