Can gcj output a syntax tree?

Bryce McKinlay mckinlay@redhat.com
Wed Jun 16 19:57:00 GMT 2004


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /