Re: AST capture in gcc

George Huber <kharmon@optonline.net>
21 Sep 2004 22:17:09 -0400

          From comp.compilers

Related articles
AST capture in gcc gs@cetic.be (2004-09-14)
Re: AST capture in gcc kharmon@optonline.net (George Huber) (2004-09-21)
Re: AST capture in gcc s.bosscher@student.tudelft.nl (2004-09-21)
Re: AST capture in gcc joanpujol@gmail.com (Joan Pujol) (2004-09-21)
| List of all articles for this month |
From: George Huber <kharmon@optonline.net>
Newsgroups: comp.compilers
Date: 21 Sep 2004 22:17:09 -0400
Organization: Optimum Online
References: 04-09-099
Keywords: code, GCC
Posted-Date: 21 Sep 2004 22:17:09 EDT

On Tue, 14 Sep 2004 16:37:12 -0400, Gregory Seront wrote:


Gregory wrote:


[snip]
>
> 1) do gcc produce an AST?
yes it does.


> 2) can I capture it?
yes you can. Take a look at the man page for gcc especially
the following flags:


-fdump-translation-unit
-fdump-tree-switch


Hope this helps,
George


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.