gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Modula-2 news


From: Gaius Mulley
Subject: Re: [Gm2] Modula-2 news
Date: 22 May 2006 11:00:50 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Waldek Hebisch <address@hidden> writes:

> I have just re-added the code that backend folks removed. I had to expand
> set constructors in a gimpilifier hook. For 4.1 port I also added another
> hook which expands set constructors initializing global variables
> (gimplifier hook only sees expression inside functions). IIRC the rest
> of set code in the backend just worked. Note that GNU Pascal expands all
> set operations into calls to the runtime library, so most of the backend
> just have to pass trough set type. Non-trivial part is emitting debug
> info, handling set constructors (done via hooks), layout_type and 
> some type dependent tweaks to calling conventions.

Hi Waldek,

> 
> You may look at `plant.[ch]' files in recent GNU Pascal. The files
> together are less then 600 lines and encapsulate most of GIMPLE specific
> stuff.  The idea is that you replace `expand_something' by `plant_something'.
> The plant_something variant remembers all trees passed as arguments and
> builds tree representation of the whole function.  
> 


thanks for the email - could you give me a url to download the gpc
source?  I've downloaded gpc-20050331.tar.bz2 but I suspect this is
too old.. as there is no plant.[ch] there.  Is there a cvs tar ball
maybe?

regards,
Gaius




reply via email to

[Prev in Thread] Current Thread [Next in Thread]