1. 01 Oct, 2012 3 commits
    • dumpfile.c: New file with parts moved from tree-dump.c. · b5f47924
      2012-09-30  Sharad Singhai  <singhai@google.com>
      
      	* dumpfile.c: New file with parts moved from tree-dump.c.
      	(pflags): New variable.
      	(alt_flags): Ditto.
      	(alt_dump_file): Ditto.
      	(dump_files):  Update to include additional fields.
      	(struct dump_option_value_info): Add additional entries.
      	(get_dump_file_name): Use command line filename if available.
      	(dump_open_alternate_stream): New function.
      	(dump_loc): Ditto.
      	(dump_gimple_stmt): Ditto.
      	(dump_gimple_stmt_loc): Ditto.
      	(dump_generic_expr): Ditto.
      	(dump_generic_expr_loc): Ditto.
      	(dump_printf): Ditto.
      	(dump_printf_loc): Ditto.
      	(dump_start): Ditto.
      	(dump_finish): Ditto.
      	(dump_begin): Ditto.
      	(dump_enabled_p): Return true if either of the dump types is enabled.
      	(dump_initialized_p): Return true if either type of dump is initialized.
      	(dump_end): Do not close standard streams.
      	(dump_enable_all): Handle filenames for regular dumps.
      	(dump_switch_p_1): Handle command-line dump filenames.
      	(opt_info_enable_all): New function.
      	(opt_info_switch_p_1): Ditto.
      	(opt_info_switch_p): Ditto.
      	(dump_kind_p): Ditto.
      	(dump_basic_block): Ditto.
      	(dump_combine_total_stats): Ditto.
      	(dump_remap_tree_vectorizer_verbose): Ditto.
      	* gimple-pretty-print.h: Rename dump_gimple_stmt to
      	pp_gimple_stmt_1.  All callers updated.
      
      From-SVN: r191884
      Sharad Singhai committed
    • invoke.texi: Add documentation for the new option. · 78c60e3d
      2012-09-30  Sharad Singhai  <singhai@google.com>
      
      	* doc/invoke.texi: Add documentation for the new option.
      	* tree-dump.c: Move general dump file related functionality into
      	dumpfile.c. Remove unneeded headers.
      	* tree-dump.h: Move function declarations into dumpfile.h.
      	* dumpfile.h: Include "line-map.h". Add defines for MSG flags.
      	(struct dump_file_info): Move here from tree-dump.c.  Rename flags
      	to pflags, state to pstate, stream to pstream, filename to
      	pfilename. All callers updated. Add alt_flags, alt_state,
      	alt_filenmae, alt_stream.
      	* tree-vectorizer.c: Include "dumpfile.h". Remove vect_dump.
      	(vect_set_dump_settings): Remove.
      	(vect_print_dump_info): Ditto.
      	* tree-vectorizer.h: Remove declaration of vect_dump and
      	vect_print_dump_info.
      	* tree-vect-loop.c: Include "dumpfile.h". Use new dump style.
      	* tree-vect-data-refs.c: Ditto.
      	* tree-vect-stmts.c: Ditto.
      	* tree-vect-slp.c: Ditto.
      	* tree-vect-patterns.c: Ditto.
      	* tree-vect-loop-manip.c: Ditto.
      	* testsuite/gcc.target/i386/vect-double-1.c: Fix test.
      	* opts.c (vect_set_verbosity_level): Remove.
      	(common_handle_option): Handle -fopt-info flag. Deprecate
      	-ftree-vectorizer-verbose.
      	* tree-parloops.c (gather_scalar_reductions): Remove reference to
      	vect_dump.
      	* flag-types.h: Remove vect_verbosity_levels.
      	* common.opt: Add -fopt-info. Deprecate -ftree-vectorizer-verbose.
      	* opts-global.c (dump_remap_tree_vectorizer_verbose): New
      	function.
      	(handle_common_deferred_options): Handle -fopt-info and
      	-ftree-vectorizer-verbose.
      	* Makefile.in: Add dumpfile.o.
      	(tree-dump.o): Update dependencies.
      	(tree-vect-loop.o): Ditto.
      	(tree-vect-loop-manip.o): Ditto.
      	(tree-vect-slp.o): Ditto.
      	(tree-vect-stmts.o): Ditto.
      	(tree-vectorizer.o): Ditto.
      	(opts.o): Ditto.
      	* passes.c (finish_optimization_passes): Instead of using
      	dump_begin/dump_end, use dump_start/dump_finish. Do not use dump_file.
      	(pass_init_dump_file): Ditto.
      	* c-decl.c (c_write_global_declarations): Use a different method
      	to determine if the dump has ben initialized.
      	* decl2.c (cp_write_global_declarations): Use a different method
      	to determine if the dump has ben initialized.
      
      From-SVN: r191883
      Sharad Singhai committed
    • Daily bump. · d0cfc262
      From-SVN: r191882
      GCC Administrator committed
  2. 30 Sep, 2012 14 commits
  3. 29 Sep, 2012 16 commits
  4. 28 Sep, 2012 7 commits