This is the mail archive of the gcc-help@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]

Howto use "pretty-print" ?


Hello,

I found out, that with "-fdump-translation-tree" you can
dump the ast of the c/c++ frontend to a file.

When browsing the sources of the latest snapshot
(gcc-4.0-20041226), i saw there is also a
"pretty-print" feature for c/c++, which seems
to convert ast's back to source code, again.

But how can i use this feature ? Is there a certain
command line option for gcc, or is pretty print
a separate program, taking a ".tu" file as input ?

Thanks,
Norbert Irmer






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