From a27a5de96932f5568e8a4561dc82a1bd11814858 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Mon, 26 Nov 2012 16:47:58 +0000 Subject: invoke.texi: Remove -dv documentation. gcc/ * doc/invoke.texi: Remove -dv documentation. Fix up graph dump related documentation. Document the '-graph' dump option. Complete the '-slim' dump option documentation. * common.opt (Variable graph_dump_format): Remove. * flag-types.h (enum graph_dump_types): Remove. * flags.h (dump_for_graph): Remove. * opts.c (decode_d_option): Remove -dv handling. * sched-int.h (print_insn, print_pattern, print_value): Move prototypes from here ... * rtl.h: ...to here. Add note that these functions ought to be in another file. * sched-vis.c (print_insn): Add detailed dump for insn notes. * print-rtl.c (dump_for_graph): Remove. (print_rtx): Remove dump_for_graph related code. * graph.c: Almost complete re-write to dump DOT (GraphViz) dumps instead of VCG dumps. * graph.h (print_rtl_graph_with_bb): Update prototype. * passes.c (finish_optimization_passes): Fix profile dump finishing. Unconditionally loop over graph dumps to finalize. (execute_function_dump): Split code to dump graphs to separate block. (execute_one_pass): Don't set TDF_GRAPH here, let the dump option decoders do their job. * ddg.c (vcg_print_ddg): Make it a DEBUG_FUNCTION. * toplev.c: Don't include graph.h. * tree-optimize.c: Don't include graph.h. testsuite/ * testsuite/gcc.dg/20050811-1.c: Change -dv option to -graph option to -fdump-rtl-all. * testsuite/gcc.dg/pr37858.c: Remove -dv option. From-SVN: r193821 --- gcc/opts.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gcc/opts.c') diff --git a/gcc/opts.c b/gcc/opts.c index 26a0bb878c5..b3a9afe8e4d 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1982,9 +1982,6 @@ decode_d_option (const char *arg, struct gcc_options *opts, opts->x_flag_dump_rtl_in_asm = 1; opts->x_flag_print_asm_name = 1; break; - case 'v': - opts->x_graph_dump_format = vcg; - break; case 'x': opts->x_rtl_dump_and_exit = 1; break; -- cgit v1.2.1