This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inlining on trees
At 12:16 PM 11/4/99 +0100, Marc Espie wrote:
>In article <Pine.LNX.4.10.9911041001540.5953-100000@biriani.cygnus.co.uk>
you write:
>>I'd start doing it, but I'm not too familiar with most of the frontends.
>>Worse, I've never ever seen a single piece of Chill sourcecode in my
>>life, so there's no way I could test any conversion of that frontend.
>>[Does anyone actually _use_ Chill, or is it just baggage we're carrying
>>around?]
>
>A chill-testsuite looks like a very good idea... Nothing intricate, just
>bare-bones to at least make sure the compiler appears vaguely functional.
Here's the first example program from the book "Introduction to CHILL"
ISBN 92-61-01771-1.
COMPUTE_ABSOLUTE_VALUE:
MODULE
DCL I INT := 1,
J INT := I*2;
I := J * 3;
J := I / 4;
I := ABS (J - I);
END COMPUTE_ABSOLUTE_VALUE;
Another book is "CHILL User's Manual", ISBN 92-61-02601-X.