This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: command option



> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]