This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: command option
On Fri, 22 Jun 2001, Joe Buck wrote:
>
> > Is there any command option for gcc I can use so that I can get the tree
> > representation for a given input C program? (That is, I want use gcc as a
> > parser only.)
>
> For C++, GCC turns an entire function into a tree. However, for C it does
> not; pieces of functions (generally at the level of an assignment) get
> mapped to RTL. So GCC never builds a tree for the entire function.
>
Huh? This is certainly not the case. Unless we are talking
about an old GCC release.
The tree SSA code works just fine with C programs. We can
produce the flowgraph for entire functions.
Diego.