This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Need info for tree to rtl conversion
- From: Diego Novillo <dnovillo at acm dot org>
- To: shirish deshmukh <shirishdeshmukh at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 9 Oct 2002 09:43:37 -0400
- Subject: Re: Need info for tree to rtl conversion
- References: <20021009130722.1479.qmail@web14909.mail.yahoo.com>
On Wed, 09 Oct 2002, shirish deshmukh wrote:
> I am using tree(intermediate represantation)(.tu file)
> dump produced by -fdump-translation-unit option of gcc
> to perform optimisations.I want to give this optimised
> file as an input file to the gcc backend.
>
You can't. Dump files contain incomplete information and cannot
be read back. You must transform the trees in-memory, prior to
RTL generation.
> Has anyone done some kind of work on tree for
> optimisations
>
Yes. http://gcc.gnu.org/projects/tree-ssa/
Diego.