This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Rebuild C code from GCC intermediate format
- From: "Rafael EspÃndola" <rafael dot espindola at gmail dot com>
- To: "Leonardo Mata" <barroca at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 14 Sep 2006 07:13:38 -0300
- Subject: Re: Rebuild C code from GCC intermediate format
- References: <7a26565f0609051143r228b33c5s1c1c125b93480332@mail.gmail.com> <7a26565f0609081256l584e6fffje77b27df2827ad65@mail.gmail.com>
I wish to know if there exists any plugin that translate
these intermediate format into C sources. I intent to modify these
intermediate formats and retranslate then into C source to anylise the
trasnsformations.
For reading a C like representation you can use -fdump-tree-*. It
might have the information that you need.
For dumping real C you can use LLVM, but you will be able to dump only
pre-optimized Gimple or the result of using LLVM optimizations on top
of that.
Rafael