This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: command option
- To: tanp at cas dot mcmaster dot ca (Ping Tan)
- Subject: Re: command option
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Fri, 22 Jun 2001 11:52:45 -0700 (PDT)
- Cc: gcc at gcc dot gnu dot org
> 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.