pro64-support
[Top] [All Lists]

Re: "Where is whirl2c.h"

To: Xinan Tang <tang@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: "Where is whirl2c.h"
From: Chandrasekhar Murthy <murthy@xxxxxxx>
Date: Wed, 07 Jun 2000 10:42:12 -0700
Cc: pro64-support@xxxxxxxxxxx
References: <Pine.GSO.4.10.10006070941001.13175-100000@chamfs>
Sender: owner-pro64-support@xxxxxxxxxxx
Xinan Tang wrote:
> 
> Hi
> 
> On Wed, 7 Jun 2000, Chandrasekhar Murthy wrote:
> 
> > One thing to bear in mind is that we do not guarantee either the
> > correctness or whether the generated C or Fortran program
> > (depending on whether you use whirl2c or whirl2f) can be
> > compiled successfully.
> >
> 
>   Please elaborate what you meant.
> 
>   As far as I know, most of compilers have IR-2-C dump and C code
> generated is guaranteed to be compiled successfully.
> 
>   As for the correctness of code generated, of course it depends
> the optimization passes that one throws upon.
> 
> Thanks
> 
> --Tang

whirl2c and whirl2f were both meant as tools to help the developers look
at the transformations done during the optimization phases.

Some of the reasons why you might not be able to compile are as follows

  1.  We have made changes to our IR (WHIRL) which might not be fully
      supported in whirl2c/whirl2f

  2.  Certain features such as nested functions, attribute
specifications
      might not be handled correctly.

  3.  Using whirl2c on an intermediate file generated by F90 and other
      similar scenarios.

Murthy

<Prev in Thread] Current Thread [Next in Thread>