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]
Other format: [Raw text]

Re: building gcc


Bob Rossi <bob_rossi@cox.net> writes:

> Hopefully I'll be able to debug gcc nicely after this is built. Two
> more questions that could save me a lot of time. Do you know where the
> abstract syntax tree is stored in GCC after a file is parsed?

I'm not sure what kind of answer you are looking for.  One place to
look is in the cgraph code.

> Does GCC
> still create an AST for C/C++, or does it go directly to GIMPLE?

gcc generates an AST, of sorts, for C++.  For C it goes directly to
GIMPLE (really GENERIC, but they are pretty similar).

Ian


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