This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Can gcj output a syntax tree?


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


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