This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is there an unparser in GCC ?
- From: Ian Lance Taylor <iant at google dot com>
- To: äææ <htyu at ict dot ac dot cn>
- Cc: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Sun, 13 Jun 2010 16:02:43 -0700
- Subject: Re: Is there an unparser in GCC ?
- References: <201006131754510461905@ict.ac.cn>
"äææ" <htyu@ict.ac.cn> writes:
> May I ask if there is a phase called unparser that can translate Gimple back to C in GCC?
No, there is nothing which translates GIMPLE back to C. I'm not sure
that even makes sense, though perhaps it could be done with some
effort. The -fdump-tree-XXX options will dump GIMPLE in a form which
looks like C.
Ian