[patch, fortran] Introducing -fdump-optimized-tree
Thomas Koenig
tkoenig@netcologne.de
Mon Oct 25 09:04:00 GMT 2010
Hello world,
here's a patch for dumping the optimized tree after front-end
optimization. Regression-tested (not that I expected to find anything
there...). Tested with 'make dvi' and 'make info'. OK for trunk?
Thomas
2010-10-24 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.h (gfc_option_t): Add dump_optimized_tree.
* lang.opt: Add fdump-optimized-tree.
* gfortran.texi: Adjust description of fdump-parse-tree to
the presence of fdump-optimized-tree. Add description of
fdump-optimized-tree.
* frontend-passes.c (gfc_run_passes): If optimizing and
if fdump-optimized-tree is set, dump the parse tree after
optimization.
* options.c (gfc_init_options): Initialize dump_optimized_tree.
(gfc_handle_option): Handle dump_optimized_tree.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump-1.diff
Type: text/x-patch
Size: 3343 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101025/e334db5f/attachment.bin>
More information about the Gcc-patches
mailing list