This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Can gcj output a syntax tree?
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Holger Peine <peine at iese dot fraunhofer dot de>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 16 Jun 2004 15:22:38 -0400
- Subject: Re: Can gcj output a syntax tree?
- References: <200406021538.04838.holger.peine@iese.fraunhofer.de>
Holger Peine wrote:
Hello everyone,
I would like to use gcj as a front-end for a Java source code analysis tool.
For C source, gcc -fdump-translation-tree dumps a textual representation
of a syntax tree; however, that option seems to be ignored by gcj.
Is there any way to get this option to work, or any other way to make
gcj dump a syntax tree?
With recent CVS gcc you can use the various -fdump-tree- options to do
this, eg: -fdump-tree-all. This works with gcj. I don't think the
-fdump-translation-tree option exists any more.
Regards
Bryce